diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index 145f255a1c..3960f7ac0d 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -273,6 +273,7 @@ module.exports = React.createClass({ var power_levels = this.props.room.currentState.getStateEvents('m.room.power_levels', ''); var events_levels = (power_levels ? power_levels.events : {}) || {}; var cli = MatrixClientPeg.get(); + var roomState = this.props.room.currentState; var user_id = cli.credentials.userId; if (power_levels) { @@ -421,13 +422,13 @@ module.exports = React.createClass({ Mute notifications for this room