Revert "recalculate roomlist when your invites change"
This reverts commit ec6a1c4c75
.
This commit is contained in:
parent
1aabaec158
commit
714cd6a10f
1 changed files with 3 additions and 10 deletions
|
@ -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 &&
|
|
||||||
ev.getPrevContent() && ev.getPrevContent().membership === "invite")
|
|
||||||
{
|
|
||||||
this._delayedRefreshRoomList();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
constantTimeDispatcher.dispatch(
|
constantTimeDispatcher.dispatch(
|
||||||
"RoomTile.refresh", member.roomId, {}
|
"RoomTile.refresh", member.roomId, {}
|
||||||
);
|
);
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
onRoomMemberName: function(ev, member) {
|
onRoomMemberName: function(ev, member) {
|
||||||
|
|
Loading…
Reference in a new issue