Skip to content

Incoming messages do not follow standard XEP-0313 #431

@Abyss777

Description

@Abyss777

Hello

Openfire 4.9.2
Monitoring Plugin 2.6.1

According to standard https://xmpp.org/extensions/xep-0313.html#archives_id

<message to='juliet@capulet.lit/balcony'
         from='romeo@montague.lit/orchard'
         type='chat'>
  <body>Call me but love, and I'll be new baptized; Henceforth I never will be Romeo.</body>
  <stanza-id xmlns='urn:xmpp:sid:0'
             by='juliet@capulet.lit'
             id='28482-98726-73623' />
</message>

Server MUST add archive ID to incoming message.

But plugin does not

<message type="chat" to="abyss@test.local/Work" id="mir4937b4416767bd4a_40" from="georgehazan@test.local/Debugger">
<body>
да всё те же и они же - https://xmpp.org/extensions/xep-0313.html
</body>
<active xmlns="http://jabber.org/protocol/chatstates" />
<request xmlns="urn:xmpp:receipts" />
<markable xmlns="urn:xmpp:chat-markers:0" />
</message

Because of that message duplicates in Miranda #127

  • Message was reseived while dialogue once
  • when reconnect, message received second time from xmpp:mam:2, because archive ids received only in xmpp:mam:2 request. And last known id was from previous connect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions