You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
disable reemitting on the client for events mapped from the indexer
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user