You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Fix race conditions around threads (#8448)
This commit is contained in:
committed by
GitHub
parent
1aaaad2f32
commit
f29ef04751
@ -92,5 +92,5 @@ export const makeThreadEvents = ({
|
||||
|
||||
export const makeThread = (client: MatrixClient, room: Room, props: MakeThreadEventsProps): Thread => {
|
||||
const { rootEvent, events } = makeThreadEvents(props);
|
||||
return new Thread(rootEvent, { initialEvents: events, room, client });
|
||||
return new Thread(rootEvent.getId(), rootEvent, { initialEvents: events, room, client });
|
||||
};
|
||||
|
Reference in New Issue
Block a user