1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

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 // We have a checkpoint, let us fetch some messages, again, very
// conservatively to not bother our homeserver too much. // 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 // TODO we need to ensure to use member lazy loading with this
// request so we get the correct profiles. // request so we get the correct profiles.
let res; let res;