Cleaned up unused files and removed commented code

This commit is contained in:
Richard Lewis 2017-06-27 11:28:38 +01:00
parent 2cb2c44bd8
commit e343e99355
6 changed files with 3 additions and 231 deletions

View file

@ -57,7 +57,7 @@ module.exports = React.createClass({
},
componentWillUnmount: function() {
ScalarMessaging.startListening();
ScalarMessaging.stopListening();
if (MatrixClientPeg.get()) {
MatrixClientPeg.get().removeListener("RoomState.events", this.onRoomStateEvents);
}