Fix presence loop with unavailable/offline

Yes, again.
Also removes echo presence states to simplify things.
This commit is contained in:
miruka
2021-07-26 00:01:02 -04:00
parent 47cfd7c7b0
commit 94bf41dc3e
5 changed files with 49 additions and 85 deletions

View File

@@ -388,9 +388,7 @@ class Backend:
await client.update_account_unread_counts()
if account.presence not in [
Presence.State.echo_invisible,
Presence.State.invisible,
Presence.State.offline,
Presence.State.invisible, Presence.State.offline,
]:
await client.update_receipt_marker(room_id, event_id)