disable reemitting on the client for events mapped from the indexer

This commit is contained in:
Bruno Windels 2020-04-15 17:37:32 +02:00
parent c000583099
commit 8c2c777e2b

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;