Add an idle parser.

This commit is contained in:
Emmanuel Gil Peyrot 2017-05-21 20:22:48 +01:00
commit dc530a1912
3 changed files with 91 additions and 0 deletions

View file

@ -77,6 +77,9 @@ pub const MESSAGE_CORRECT: &'static str = "urn:xmpp:message-correct:0";
/// XEP-0313: Message Archive Management
pub const MAM: &'static str = "urn:xmpp:mam:2";
/// XEP-0319: Last User Interaction in Presence
pub const IDLE: &'static str = "urn:xmpp:idle:1";
/// XEP-0359: Unique and Stable Stanza IDs
pub const SID: &'static str = "urn:xmpp:sid:0";