remove dead code (collapse button was removed)

This commit is contained in:
Bruno Windels 2018-12-18 15:33:28 +01:00
parent 0676c1b8ad
commit 2cb817ae26

View file

@ -146,10 +146,6 @@ module.exports = React.createClass({
MatrixClientPeg.get().sendStateEvent(this.props.room.roomId, 'm.room.avatar', {url: null}, '');
},
onShowRhsClick: function(ev) {
dis.dispatch({ action: 'show_right_panel' });
},
onShareRoomClick: function(ev) {
const ShareDialog = sdk.getComponent("dialogs.ShareDialog");
Modal.createTrackedDialog('share room dialog', '', ShareDialog, {