whoops, left some printfs
parent
ee33c7cd62
commit
a409b9b96f
|
@ -131,9 +131,7 @@ export default createReactClass({
|
||||||
onRoomTimeline: function(ev, room) {
|
onRoomTimeline: function(ev, room) {
|
||||||
if (!room) return;
|
if (!room) return;
|
||||||
if (room.roomId != this.props.room.roomId) return;
|
if (room.roomId != this.props.room.roomId) return;
|
||||||
console.warn("e2e onRoomTimeline");
|
|
||||||
if (ev.getType() !== "m.room.encryption") return;
|
if (ev.getType() !== "m.room.encryption") return;
|
||||||
console.warn("e2e onRoomTimeline ENCRYPTION");
|
|
||||||
MatrixClientPeg.get().removeListener("Room.timeline", this.onRoomTimeline);
|
MatrixClientPeg.get().removeListener("Room.timeline", this.onRoomTimeline);
|
||||||
this.onFindingRoomToBeEncrypted();
|
this.onFindingRoomToBeEncrypted();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue