mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
same for right panel
This commit is contained in:
parent
9cc9fbf924
commit
101dad83aa
1 changed files with 3 additions and 0 deletions
|
@ -186,6 +186,9 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
onRoomStateMember: function(ev, state, member) {
|
onRoomStateMember: function(ev, state, member) {
|
||||||
|
if (member.roomId !== this.props.roomId) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
// redraw the badge on the membership list
|
// redraw the badge on the membership list
|
||||||
if (this.state.phase === this.Phase.RoomMemberList && member.roomId === this.props.roomId) {
|
if (this.state.phase === this.Phase.RoomMemberList && member.roomId === this.props.roomId) {
|
||||||
this._delayedUpdate();
|
this._delayedUpdate();
|
||||||
|
|
Loading…
Reference in a new issue