disable reemitting on the client for events mapped from the indexer

pull/21833/head
Bruno Windels 2020-04-15 17:37:32 +02:00
parent c000583099
commit 8c2c777e2b
1 changed files with 1 additions and 1 deletions

View File

@ -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;