Import ns itself, and remove the _NS suffix on all namespaces.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-20 23:16:12 +01:00
commit 7288c2c74f
10 changed files with 47 additions and 47 deletions

View file

@ -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";