whoops, left some printfs

pull/21833/head
Zoe 2020-01-23 11:14:01 +00:00
parent ee33c7cd62
commit a409b9b96f
1 changed files with 0 additions and 2 deletions

View File

@ -131,9 +131,7 @@ export default createReactClass({
onRoomTimeline: function(ev, room) {
if (!room) return;
if (room.roomId != this.props.room.roomId) return;
console.warn("e2e onRoomTimeline");
if (ev.getType() !== "m.room.encryption") return;
console.warn("e2e onRoomTimeline ENCRYPTION");
MatrixClientPeg.get().removeListener("Room.timeline", this.onRoomTimeline);
this.onFindingRoomToBeEncrypted();
},