forked from lavina/lavina
1
0
Fork 0
This commit is contained in:
Nikita Vilunov 2024-05-21 11:39:22 +02:00
parent 77d159ec24
commit 9c1d5c9d93
1 changed files with 3 additions and 2 deletions

View File

@ -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)] #[derive(Debug, PartialEq, Eq)]
pub struct XUser { pub struct XUser {
pub item: XUserItem, 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, 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, pub just_created: bool,
} }
impl ToXml for XUser { impl ToXml for XUser {