Merge pull request #4900 from matrix-org/t3chguy/room-list/1234

New Room List implement view_room_delta for keyboard shortcuts
This commit is contained in:
Michael Telatynski 2020-07-07 15:36:30 +01:00 committed by GitHub
commit 8ba2be0be5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 94 additions and 39 deletions

View file

@ -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);