* Georg Lukas <[email protected]> [2021-09-07 17:22]:
Furthermore, I'm not sure if messages received by a client from offline history are supposed to contain the respective MAM-ID, so deduplicating here might be very adventurous, as the same message might arrive from offline history without a MAM ID and from MAM with a MAM ID, and the @id attribute might not be unique.

I'm not sure how implementations other than prosody handle this, but I'd
love to see MAM servers to also inject MAM-IDs into offline messages,
and have that explicitly written in 0313.

I would've assumed offline messages to be already covered by the following guarantee, just like regular live messages:

When a message is archived, the server MUST add an <stanza-id/> element as defined in Unique and Stable Stanza IDs (XEP-0359) to the message, which informs the recipient of where and under what ID the message is stored.

[ https://xmpp.org/extensions/xep-0313.html#archives_id ]

Holger
_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: [email protected]
_______________________________________________

Reply via email to