Ignore removed events

This commit is contained in:
David Baker 2017-11-02 18:14:21 +00:00
parent ee43c635d1
commit 3b58f0ca2a

View file

@ -59,6 +59,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 (room.roomId != this.room.roomId) return; if (room.roomId != this.room.roomId) return;
// ignore events from filtered timelines // ignore events from filtered timelines