mirror of https://github.com/vector-im/riot-web
pull/21833/head
parent
3b58f0ca2a
commit
6ad4bb80dd
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue