Use updated createThread method (#7670)
This commit is contained in:
parent
3e1a5f7021
commit
0e36f91d76
4 changed files with 43 additions and 10 deletions
|
@ -290,7 +290,7 @@ export async function fetchInitialEvent(
|
|||
const rootEventData = await client.fetchRoomEvent(roomId, initialEvent.threadRootId);
|
||||
const rootEvent = new MatrixEvent(rootEventData);
|
||||
const room = client.getRoom(roomId);
|
||||
room.createThread([rootEvent]);
|
||||
room.createThread(rootEvent);
|
||||
} catch (e) {
|
||||
logger.warn("Could not find root event: " + initialEvent.threadRootId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue