Room List should ignore paginated events

This commit is contained in:
David Baker 2015-06-25 17:44:27 +01:00
parent dd0d6159ce
commit 30a9436485

View File

@ -59,6 +59,7 @@ module.exports = {
}, },
onRoomTimeline: function(ev, room, toStartOfTimeline) { onRoomTimeline: function(ev, room, toStartOfTimeline) {
if (toStartOfTimeline) return;
if (room.roomId == this.props.selectedRoom) return; if (room.roomId == this.props.selectedRoom) return;
if (ev.getSender() == MatrixClientPeg.get().credentials.userId) return; if (ev.getSender() == MatrixClientPeg.get().credentials.userId) return;