From 8c2c777e2bec06fa01e4b06088f687870fa4b362 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 15 Apr 2020 17:37:32 +0200 Subject: [PATCH] disable reemitting on the client for events mapped from the indexer --- src/indexing/EventIndex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indexing/EventIndex.js b/src/indexing/EventIndex.js index 1226b84b5b..e4e8f26031 100644 --- a/src/indexing/EventIndex.js +++ b/src/indexing/EventIndex.js @@ -383,7 +383,7 @@ export default class EventIndex extends EventEmitter { // We have a checkpoint, let us fetch some messages, again, very // conservatively to not bother our homeserver too much. - const eventMapper = client.getEventMapper(); + const eventMapper = client.getEventMapper({preventReEmit: true}); // TODO we need to ensure to use member lazy loading with this // request so we get the correct profiles. let res;