From 9c1d5c9d93a5bd3a03d64f63d14e853628c37744 Mon Sep 17 00:00:00 2001 From: Nikita Vilunov Date: Tue, 21 May 2024 11:39:22 +0200 Subject: [PATCH] doc --- crates/proto-xmpp/src/muc/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 {