Make all events able to increment unread/mentions

This commit is contained in:
miruka
2020-04-16 14:08:24 -04:00
parent 4f374081a7
commit 0ba8c6eecf
3 changed files with 22 additions and 20 deletions

View File

@@ -82,7 +82,7 @@ class Room(ModelItem):
last_event_date: datetime = ZeroDate
mentions: int = 0
unreads: int = 0
unreads: int = 0
def __lt__(self, other: "Room") -> bool:
"""Sort by join state, then descending last event date, then name.