diff --git a/crates/proto-xmpp/src/muc/mod.rs b/crates/proto-xmpp/src/muc/mod.rs index d7365b9..2fcfe02 100644 --- a/crates/proto-xmpp/src/muc/mod.rs +++ b/crates/proto-xmpp/src/muc/mod.rs @@ -145,12 +145,13 @@ impl FromXml for X { } } +/// Information about an MUC member. May contain [MUC status codes](https://xmpp.org/registrar/mucstatus.html). #[derive(Debug, PartialEq, Eq)] pub struct XUser { pub item: XUserItem, - /// The receiver is the user referred to in the presence stanza. + /// Code 110. The receiver is the user referred to in the presence stanza. pub self_presence: bool, - /// The room from which the presence stanza was sent was just created. + /// Code 201. The room from which the presence stanza was sent was just created. pub just_created: bool, } impl ToXml for XUser {