Import ns itself, and remove the _NS suffix on all namespaces.
This commit is contained in:
parent
411e421732
commit
7288c2c74f
10 changed files with 47 additions and 47 deletions
18
src/ns.rs
18
src/ns.rs
|
|
@ -1,9 +1,9 @@
|
|||
pub const JABBER_CLIENT_NS: &'static str = "jabber:client";
|
||||
pub const DISCO_INFO_NS: &'static str = "http://jabber.org/protocol/disco#info";
|
||||
pub const DATA_FORMS_NS: &'static str = "jabber:x:data";
|
||||
pub const MEDIA_ELEMENT_NS: &'static str = "urn:xmpp:media-element";
|
||||
pub const JINGLE_NS: &'static str = "urn:xmpp:jingle:1";
|
||||
pub const PING_NS: &'static str = "urn:xmpp:ping";
|
||||
pub const CHATSTATES_NS: &'static str = "http://jabber.org/protocol/chatstates";
|
||||
pub const IBB_NS: &'static str = "http://jabber.org/protocol/ibb";
|
||||
pub const RECEIPTS_NS: &'static str = "urn:xmpp:receipts";
|
||||
pub const JABBER_CLIENT: &'static str = "jabber:client";
|
||||
pub const DISCO_INFO: &'static str = "http://jabber.org/protocol/disco#info";
|
||||
pub const DATA_FORMS: &'static str = "jabber:x:data";
|
||||
pub const MEDIA_ELEMENT: &'static str = "urn:xmpp:media-element";
|
||||
pub const JINGLE: &'static str = "urn:xmpp:jingle:1";
|
||||
pub const PING: &'static str = "urn:xmpp:ping";
|
||||
pub const CHATSTATES: &'static str = "http://jabber.org/protocol/chatstates";
|
||||
pub const IBB: &'static str = "http://jabber.org/protocol/ibb";
|
||||
pub const RECEIPTS: &'static str = "urn:xmpp:receipts";
|
||||
|
|
|
|||
Loading…
Reference in a new issue