Add auto-away feature for Linux X11

This commit is contained in:
miruka
2020-07-11 00:51:53 -04:00
parent 10f47f71ac
commit 3c620f6fd1
10 changed files with 107 additions and 15 deletions

View File

@@ -143,6 +143,7 @@ class Account(ModelItem):
# For some reason, Account cannot inherit Presence, because QML keeps
# complaining type error on unknown file
presence_support: bool = False
save_presence: bool = True
presence: Presence.State = Presence.State.offline
currently_active: bool = False
last_active_at: datetime = ZERO_DATE