Revert "recalculate roomlist when your invites change"

This reverts commit ec6a1c4c75.
This commit is contained in:
David Baker 2017-05-16 16:00:34 +01:00
parent 1aabaec158
commit 714cd6a10f

View file

@ -265,16 +265,9 @@ module.exports = React.createClass({
}, },
onRoomStateMember: function(ev, state, member) { onRoomStateMember: function(ev, state, member) {
if (ev.getStateKey() === MatrixClientPeg.get().credentials.userId && constantTimeDispatcher.dispatch(
ev.getPrevContent() && ev.getPrevContent().membership === "invite") "RoomTile.refresh", member.roomId, {}
{ );
this._delayedRefreshRoomList();
}
else {
constantTimeDispatcher.dispatch(
"RoomTile.refresh", member.roomId, {}
);
}
}, },
onRoomMemberName: function(ev, member) { onRoomMemberName: function(ev, member) {