mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
another null check
This commit is contained in:
parent
f4d939da81
commit
db61d8e8ad
@ -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();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user