You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
EventIndex: Use the correct variable to get the room id.
This commit is contained in:
@@ -200,7 +200,7 @@ export default class EventIndex extends EventEmitter {
|
|||||||
if (!MatrixClientPeg.get().isRoomEncrypted(state.roomId)) return;
|
if (!MatrixClientPeg.get().isRoomEncrypted(state.roomId)) return;
|
||||||
|
|
||||||
if (ev.getType() === "m.room.encryption" && !await this.isRoomIndexed(state.roomId)) {
|
if (ev.getType() === "m.room.encryption" && !await this.isRoomIndexed(state.roomId)) {
|
||||||
console.log("EventIndex: Adding a checkpoint for a newly encrypted room", room.roomId);
|
console.log("EventIndex: Adding a checkpoint for a newly encrypted room", state.roomId);
|
||||||
this.addRoomCheckpoint(state.roomId, true);
|
this.addRoomCheckpoint(state.roomId, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user