diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index 47b3df65cb..86870718e8 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -186,6 +186,9 @@ module.exports = React.createClass({ }, onRoomStateMember: function(ev, state, member) { + if (member.roomId !== this.props.roomId) { + return; + } // redraw the badge on the membership list if (this.state.phase === this.Phase.RoomMemberList && member.roomId === this.props.roomId) { this._delayedUpdate();