From 4db79edb73f80bcb89c68c84e76f3ecba64e7e23 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 16 Mar 2016 12:17:07 +0000 Subject: [PATCH] oops, use right signature for roomState.maySendStateEvent --- src/components/views/rooms/RoomSettings.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) 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