1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

another null check

This commit is contained in:
Matthew Hodgson
2016-09-09 02:28:14 +01:00
parent f4d939da81
commit db61d8e8ad

View File

@ -148,6 +148,7 @@ module.exports = React.createClass({
onRoomTimeline: function(ev, room, toStartOfTimeline, removed, data) {
if (toStartOfTimeline) return;
if (!room) return;
if (data.timeline.getTimelineSet() !== room.getUnfilteredTimelineSet()) return;
this._delayedRefreshRoomList();
},