Add basic presence tracking.

This commit is contained in:
Paul Makles committed 2021-01-09 20:49:36 +00:00
1 parent 5e70ceea01
commit f6c52de171
5 files changed
+97 -54

No files matched your search

+2
View File
@@ -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>,
}