Revert "recalculate roomlist when your invites change"

This reverts commit ec6a1c4c75.
pull/21833/head
David Baker 2017-05-16 16:00:34 +01:00
parent 1aabaec158
commit 714cd6a10f
1 changed files with 3 additions and 10 deletions

View File

@ -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) {