feat: add 'Focus' presence status

This commit is contained in:
Paul Makles
2022-09-18 12:12:31 +01:00
parent 86ad72b426
commit f4dcd091cc

View File

@@ -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,
}