Make PresenceEventContent::currently_active optional
This commit is contained in:
parent
c3fd65c650
commit
491188db2b
@ -18,7 +18,7 @@ pub struct PresenceEventContent {
|
|||||||
pub avatar_url: Option<String>,
|
pub avatar_url: Option<String>,
|
||||||
|
|
||||||
/// Whether or not the user is currently active.
|
/// Whether or not the user is currently active.
|
||||||
pub currently_active: bool,
|
pub currently_active: Option<bool>,
|
||||||
|
|
||||||
/// The current display name for this user.
|
/// The current display name for this user.
|
||||||
#[serde(skip_serializing_if="Option::is_none")]
|
#[serde(skip_serializing_if="Option::is_none")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user