Added RoomOptions component (#25)

This commit is contained in:
unknown
2021-09-09 17:49:57 +05:30
parent 18a2a7e2d4
commit 28d123adc2
11 changed files with 322 additions and 3 deletions
+1
View File
@@ -386,6 +386,7 @@ class RoomList extends EventEmitter {
const lastTimelineEvent = room.timeline[room.timeline.length - 1];
if (lastTimelineEvent.getId() !== event.getId()) return;
if (event.getSender() === this.matrixClient.getUserId()) return;
this.emit(cons.events.roomList.EVENT_ARRIVED, room.roomId);
});
}