Add a JingleFT parser.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-22 17:39:21 +01:00
commit fbb609485b
3 changed files with 183 additions and 0 deletions

View file

@ -31,6 +31,11 @@ pub const MEDIA_ELEMENT: &'static str = "urn:xmpp:media-element";
/// XEP-0224: Attention
pub const ATTENTION: &'static str = "urn:xmpp:attention:0";
/// XEP-0234: Jingle File Transfer
pub const JINGLE_FT: &'static str = "urn:xmpp:jingle:apps:file-transfer:5";
/// XEP-0234: Jingle File Transfer
pub const JINGLE_FT_ERROR: &'static str = "urn:xmpp:jingle:apps:file-transfer:errors:0";
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
pub const HASHES: &'static str = "urn:xmpp:hashes:2";