Implement ViewRoomDelta for the new Room List
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
2da1320d99
commit
1849ed90d2
2 changed files with 52 additions and 3 deletions
|
@ -31,7 +31,7 @@ export class RoomNotificationState extends EventEmitter implements IDestroyable,
|
|||
private _count: number;
|
||||
private _color: NotificationColor;
|
||||
|
||||
constructor(private room: Room) {
|
||||
constructor(public readonly room: Room) {
|
||||
super();
|
||||
this.room.on("Room.receipt", this.handleReadReceipt);
|
||||
this.room.on("Room.timeline", this.handleRoomEventUpdate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue