diff --git a/src/backend/backend.py b/src/backend/backend.py index 2cbefbfd..0750a51b 100644 --- a/src/backend/backend.py +++ b/src/backend/backend.py @@ -287,9 +287,10 @@ class Backend: local = room.local_unreads or room.local_highlights if room and room.unreads or room.highlights or local: - room.unreads = 0 - room.highlights = 0 - room.local_unreads = False + room.unreads = 0 + room.highlights = 0 + room.local_unreads = False + room.local_highlights = False await client.update_account_unread_counts() await client.update_receipt_marker(room_id, event_id)