mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-26 19:48:39 +00:00
Fix missing threads in thread list (#8011)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -308,7 +308,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, [rootEvent], true);
|
||||
} catch (e) {
|
||||
logger.warn("Could not find root event: " + initialEvent.threadRootId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user