diff --git a/src/components/views/messages/MessageActionBar.js b/src/components/views/messages/MessageActionBar.js index 1f27de0732..6e47846d20 100644 --- a/src/components/views/messages/MessageActionBar.js +++ b/src/components/views/messages/MessageActionBar.js @@ -46,7 +46,6 @@ export default class MessageActionBar extends React.PureComponent { this.props.mxEvent.on("Event.decrypted", this.onDecrypted); const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId()); if (room) { - console.log("DEBUG", room); room.on("RoomMember.powerLevel", this.onPermissionsChange); room.on("RoomMember.membership", this.onPermissionsChange); this.onPermissionsChange(); diff --git a/test/test-utils.js b/test/test-utils.js index 5f78508f46..6dd9158b74 100644 --- a/test/test-utils.js +++ b/test/test-utils.js @@ -259,6 +259,8 @@ export function mkStubRoom(roomId = null) { }, }, setBlacklistUnverifiedDevices: sinon.stub(), + on: sinon.stub(), + removeListener: sinon.stub(), }; }