Implement occupant-id (XEP-0421).

This commit is contained in:
Emmanuel Gil Peyrot 2019-07-17 17:30:52 +02:00
commit 943292a749
3 changed files with 95 additions and 0 deletions

View file

@ -204,6 +204,9 @@ pub const ECAPS2: &str = "urn:xmpp:caps";
/// XEP-0390: Entity Capabilities 2.0
pub const ECAPS2_OPTIMIZE: &str = "urn:xmpp:caps:optimize";
/// XEP-0421: Anonymous unique occupant identifiers for MUCs
pub const OID: &str = "urn:xmpp:occupant-id:0";
/// Alias for the main namespace of the stream, that is "jabber:client" when
/// the component feature isnt enabled.
#[cfg(not(feature = "component"))]