mirror of https://github.com/vector-im/riot-web
Revert "recalculate roomlist when your invites change"
This reverts commit ec6a1c4c75
.
pull/21833/head
parent
1aabaec158
commit
714cd6a10f
|
@ -265,16 +265,9 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
onRoomStateMember: function(ev, state, member) {
|
||||
if (ev.getStateKey() === MatrixClientPeg.get().credentials.userId &&
|
||||
ev.getPrevContent() && ev.getPrevContent().membership === "invite")
|
||||
{
|
||||
this._delayedRefreshRoomList();
|
||||
}
|
||||
else {
|
||||
constantTimeDispatcher.dispatch(
|
||||
"RoomTile.refresh", member.roomId, {}
|
||||
);
|
||||
}
|
||||
constantTimeDispatcher.dispatch(
|
||||
"RoomTile.refresh", member.roomId, {}
|
||||
);
|
||||
},
|
||||
|
||||
onRoomMemberName: function(ev, member) {
|
||||
|
|
Loading…
Reference in New Issue