whoops, left some printfs

This commit is contained in:
Zoe 2020-01-23 11:14:01 +00:00
parent ee33c7cd62
commit a409b9b96f

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();
},