Remove pointless local_highlights

An event can only be considered a highlight if a push rule make it so,
thus an event can never be locally highlighted only.
This commit is contained in:
miruka
2020-11-03 06:43:30 -04:00
parent 35a8c0aec4
commit 2ef1edb3dc
8 changed files with 21 additions and 46 deletions

View File

@@ -379,10 +379,9 @@ class Backend:
if room:
room.set_fields(
unreads = 0,
highlights = 0,
local_unreads = False,
local_highlights = False,
unreads = 0,
highlights = 0,
local_unreads = False,
)
await client.update_account_unread_counts()