Add a MAM parser and serialiser.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-29 06:07:00 +01:00
commit 0b2d46aa3a
3 changed files with 289 additions and 0 deletions

View file

@ -63,6 +63,9 @@ pub const HASH_ALGO_BLAKE2B_512: &'static str = "urn:xmpp:hash-function-text-nam
/// XEP-0308: Last Message Correction
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-0359: Unique and Stable Stanza IDs
pub const SID: &'static str = "urn:xmpp:sid:0";