Correctly clear room local highlights
This commit is contained in:
parent
0ddeacb15c
commit
fedcc17c44
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user