Room List should ignore paginated events

pull/1/head
David Baker 2015-06-25 17:44:27 +01:00
parent dd0d6159ce
commit 30a9436485
1 changed files with 1 additions and 0 deletions

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;