Merge pull request #4414 from matrix-org/bwindels/fixindexernotifs

Fix: prevent spurious notifications from indexer
pull/21833/head
Bruno Windels 2020-04-15 16:50:38 +00:00 committed by GitHub
commit 09e247b4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;