Refactor rooms management

This commit is contained in:
2025-11-28 18:41:43 +01:00
parent a656c077bc
commit 1f22d5c41b
5 changed files with 111 additions and 86 deletions

View File

@@ -50,7 +50,10 @@ export class RoomEventsManager {
}
processWsMessage(m: WsMessage) {
if (m.room_id !== this.room.id) return false;
if (m.room_id !== this.room.id) {
console.debug("Not an event for current room.");
return false;
}
let data: MatrixEventData;
if (m.type === "RoomReactionEvent") {