mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 18:59:17 +00:00
Stop tracking threads if threads support is disabled (#8308)
This commit is contained in:
committed by
GitHub
parent
a59f889f79
commit
d151365fd7
@@ -217,7 +217,7 @@ export async function fetchInitialEvent(
|
||||
initialEvent = null;
|
||||
}
|
||||
|
||||
if (initialEvent?.isThreadRelation) {
|
||||
if (initialEvent?.isThreadRelation && client.supportsExperimentalThreads()) {
|
||||
try {
|
||||
const rootEventData = await client.fetchRoomEvent(roomId, initialEvent.threadRootId);
|
||||
const rootEvent = new MatrixEvent(rootEventData);
|
||||
|
||||
Reference in New Issue
Block a user