Add status_msg field to m.presence.

This commit is contained in:
Jimmy Cuadra 2019-06-13 17:35:41 -07:00
parent c745db7eba
commit 7eb9384bd6

View File

@ -33,6 +33,10 @@ pub struct PresenceEventContent {
/// The presence state for this user.
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.