Show read marker counts on messages

Tells how many people have the message as their last seen one in the
room.
This commit is contained in:
miruka
2020-09-14 11:33:16 -04:00
parent 0d7a33d3a9
commit 2712896456
4 changed files with 18 additions and 8 deletions

View File

@@ -332,6 +332,7 @@ class Event(ModelItem):
# {user_id: server_timestamp} - QML can't parse dates from JSONified dicts
last_read_by: Dict[str, int] = field(default_factory=dict)
read_by_count: int = 0
is_local_echo: bool = False
source: Optional[nio.Event] = None