Add status_msg field to m.presence.
This commit is contained in:
parent
c745db7eba
commit
7eb9384bd6
@ -33,6 +33,10 @@ pub struct PresenceEventContent {
|
|||||||
|
|
||||||
/// The presence state for this user.
|
/// The presence state for this user.
|
||||||
pub presence: PresenceState,
|
pub presence: PresenceState,
|
||||||
|
|
||||||
|
/// An optional description to accompany the presence.
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
|
pub status_msg: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A description of a user's connectivity and availability for chat.
|
/// A description of a user's connectivity and availability for chat.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user