1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

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) {
if (toStartOfTimeline) return;
if (room.roomId == this.props.selectedRoom) return;
if (ev.getSender() == MatrixClientPeg.get().credentials.userId) return;