Refactor rooms management
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user