Add account presences to account context menu

This commit is contained in:
vslg
2020-07-02 00:27:50 -03:00
committed by miruka
parent 6e202c3e27
commit 0eda6eb278
7 changed files with 128 additions and 13 deletions

View File

@@ -192,6 +192,7 @@ class Accounts(JSONDataFile):
"token": client.access_token,
"device_id": client.device_id,
"enabled": True,
"presence": client._presence or "online",
"order": max([
account.get("order", i)
for i, account in enumerate(saved.values())