xmpp-parsers: Implement XEP-0490: Message Displayed Synchronization

This XEP is used to synchronize where each client has stopped reading a
conversation, so that we can e.g. stop displaying a notification when
the user has read this particular message on a different device.
This commit is contained in:
Emmanuel Gil Peyrot 2024-12-15 16:10:45 +01:00 committed by xmpp ftw
commit af0bd35e7a
5 changed files with 34 additions and 0 deletions

View file

@ -308,6 +308,9 @@ pub const STREAM_LIMITS: &str = "urn:xmpp:stream-limits:0";
/// XEP-0484: Fast Authentication Streamlining Tokens
pub const FAST: &str = "urn:xmpp:fast:0";
/// XEP-0490: Message Displayed Synchronization
pub const MDS: &str = "urn:xmpp:mds:displayed:0";
/// Alias for the main namespace of the stream, that is "jabber:client" when
/// the component feature isnt enabled.
#[cfg(not(feature = "component"))]