Correctly clear room local highlights

This commit is contained in:
miruka 2020-06-26 16:26:15 -04:00
parent 0ddeacb15c
commit fedcc17c44

View File

@ -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)