mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
xmpp-parsers: Reorder the XEP-0122 and XEP-0484 namespaces
We keep the list ordered by XEP number, so that it is easier to search into.
This commit is contained in:
parent
05651545f8
commit
b51d6cec3a
1 changed files with 5 additions and 5 deletions
|
@ -100,6 +100,9 @@ pub const CAPS: &str = "http://jabber.org/protocol/caps";
|
|||
/// XEP-0118: User Tune
|
||||
pub const TUNE: &str = "http://jabber.org/protocol/tune";
|
||||
|
||||
/// XEP-0122: Data Forms Validation
|
||||
pub const XDATA_VALIDATE: &str = "http://jabber.org/protocol/xdata-validate";
|
||||
|
||||
/// XEP-0153: vCard-Based Avatars
|
||||
pub const VCARD_UPDATE: &str = "vcard-temp:x:update";
|
||||
|
||||
|
@ -290,8 +293,8 @@ pub const OID: &str = "urn:xmpp:occupant-id:0";
|
|||
/// XEP-0444: Message Reactions
|
||||
pub const REACTIONS: &str = "urn:xmpp:reactions:0";
|
||||
|
||||
/// XEP-0122: Data Forms Validation
|
||||
pub const XDATA_VALIDATE: &str = "http://jabber.org/protocol/xdata-validate";
|
||||
/// XEP-0484: Fast Authentication Streamlining Tokens
|
||||
pub const FAST: &str = "urn:xmpp:fast:0";
|
||||
|
||||
/// Alias for the main namespace of the stream, that is "jabber:client" when
|
||||
/// the component feature isn’t enabled.
|
||||
|
@ -302,6 +305,3 @@ pub const DEFAULT_NS: &str = JABBER_CLIENT;
|
|||
/// "jabber:component:accept" when the component feature is enabled.
|
||||
#[cfg(feature = "component")]
|
||||
pub const DEFAULT_NS: &str = COMPONENT_ACCEPT;
|
||||
|
||||
/// XEP-0484: Fast Authentication Streamlining Tokens
|
||||
pub const FAST: &str = "urn:xmpp:fast:0";
|
||||
|
|
Loading…
Reference in a new issue