Re-add local highlights similar to 0.5.0
This commit is contained in:
@@ -283,9 +283,10 @@ class Backend:
|
||||
"""
|
||||
|
||||
async def update(client: MatrixClient) -> None:
|
||||
room = self.models[client.user_id, "rooms"].get(room_id)
|
||||
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 room.local_unreads:
|
||||
if room and room.unreads or room.highlights or local:
|
||||
room.unreads = 0
|
||||
room.highlights = 0
|
||||
room.local_unreads = False
|
||||
|
Reference in New Issue
Block a user