Only inform protected rooms set of protected rooms.

This commit is contained in:
gnuxie
2024-04-06 20:03:35 +01:00
parent b5cc239325
commit 10905a0b29
+3
View File
@@ -170,6 +170,9 @@ export class Draupnir implements Client {
Task(this.joinOnInviteListener(roomID, event));
this.managementRoomMessageListener(roomID, event);
this.reactionHandler.handleEvent(roomID, event);
if (this.protectedRoomsSet.isProtectedRoom(roomID)) {
this.protectedRoomsSet.handleTimelineEvent(roomID, event);
}
}
private managementRoomMessageListener(roomID: StringRoomID, event: RoomEvent): void {