From 3b58f0ca2a00004e7423c79a7c876a6e294686c0 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 2 Nov 2017 18:14:21 +0000 Subject: [PATCH] Ignore removed events --- src/autocomplete/UserProvider.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/autocomplete/UserProvider.js b/src/autocomplete/UserProvider.js index fced0ce7ff..7c86ea7e4b 100644 --- a/src/autocomplete/UserProvider.js +++ b/src/autocomplete/UserProvider.js @@ -59,6 +59,7 @@ export default class UserProvider extends AutocompleteProvider { _onRoomTimeline(ev, room, toStartOfTimeline, removed, data) { if (!room) return; + if (removed) return; if (room.roomId != this.room.roomId) return; // ignore events from filtered timelines