From 6a84088dbad8fd083d3f6adf1d3c1adbdae66a7e Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 14 Oct 2025 14:45:29 -0500 Subject: [PATCH] Fix isRoot calc --- src/state/queries/usePostThread/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/queries/usePostThread/utils.ts b/src/state/queries/usePostThread/utils.ts index 200e0f34c7..e1e981176d 100644 --- a/src/state/queries/usePostThread/utils.ts +++ b/src/state/queries/usePostThread/utils.ts @@ -65,7 +65,7 @@ export function getTraversalMetadata({ } const rootUri = getRootPostAtUri(item.value.post) const rootAuthorDid = rootUri?.host - const isRoot = item.uri === item.value.post.uri + const isRoot = item.uri === rootUri?.toString() const isPartOfOPThreadFromRoot = Boolean( item.value.post.author.did === rootAuthorDid && (parentMetadata?.isRoot || parentMetadata?.isPartOfOPThreadFromRoot),