Fix missing parentheses in marker update condition
This commit is contained in:
parent
3933615f67
commit
5476e00b9b
|
@ -303,7 +303,7 @@ class Backend:
|
|||
room = self.models[client.user_id, "rooms"].get(room_id)
|
||||
local = room.local_unreads or room.local_highlights
|
||||
|
||||
if room and room.unreads or room.highlights or local:
|
||||
if room and (room.unreads or room.highlights or local):
|
||||
room.unreads = 0
|
||||
room.highlights = 0
|
||||
room.local_unreads = False
|
||||
|
|
Loading…
Reference in New Issue
Block a user