EventIndex: Use the correct variable to get the room id.
This commit is contained in:
parent
7a2bb4b112
commit
2c81d3eda8
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ export default class EventIndex extends EventEmitter {
|
|||
if (!MatrixClientPeg.get().isRoomEncrypted(state.roomId)) return;
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue