1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Merge branch 'develop' into weeman1337/prettier

This commit is contained in:
Michael Weimann
2022-12-12 15:58:30 +01:00
3 changed files with 312 additions and 105 deletions

View File

@ -137,7 +137,7 @@ export const mkThread = ({
const thread = room.createThread(rootEvent.getId(), rootEvent, events, true);
// So that we do not have to mock the thread loading
thread.initialEventsFetched = true;
thread.addEvents(events, true);
thread.addEvents(events, false);
return { thread, rootEvent, events };
};