pull/21833/head
David Baker 2017-11-02 18:14:46 +00:00
parent 3b58f0ca2a
commit 6ad4bb80dd
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ export default class UserProvider extends AutocompleteProvider {
_onRoomTimeline(ev, room, toStartOfTimeline, removed, data) { _onRoomTimeline(ev, room, toStartOfTimeline, removed, data) {
if (!room) return; if (!room) return;
if (removed) return; if (removed) return;
if (room.roomId != this.room.roomId) return; if (room.roomId !== this.room.roomId) return;
// ignore events from filtered timelines // ignore events from filtered timelines
if (data.timeline.getTimelineSet() !== room.getUnfilteredTimelineSet()) return; if (data.timeline.getTimelineSet() !== room.getUnfilteredTimelineSet()) return;