forked from jmug/stoatchat
Add basic presence tracking.
This commit is contained in:
@@ -29,4 +29,6 @@ pub struct User {
|
||||
// ? This should never be pushed to the collection.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub relationship: Option<RelationshipStatus>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub online: Option<bool>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user