From f4dcd091ccf3d8a78f259d29c87193e3aaa47104 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sun, 18 Sep 2022 12:12:31 +0100 Subject: [PATCH] feat: add 'Focus' presence status --- crates/quark/src/models/users/user.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/quark/src/models/users/user.rs b/crates/quark/src/models/users/user.rs index 33434ab1..db745a0b 100644 --- a/crates/quark/src/models/users/user.rs +++ b/crates/quark/src/models/users/user.rs @@ -32,9 +32,15 @@ pub struct Relationship { /// Presence status #[derive(Serialize, Deserialize, JsonSchema, Debug, Clone, PartialEq)] pub enum Presence { + /// User is online Online, + /// User is not currently available Idle, + /// User is focusing / will only receive mentions + Focus, + /// User is busy / will not receive any notifications Busy, + /// User appears to be offline Invisible, }