Add explicit non-handling of detached quotes in embed

This commit is contained in:
Eric Bailey
2024-09-04 18:40:10 -05:00
parent 76f493c279
commit 85514be908
+6
View File
@@ -158,6 +158,12 @@ export function Embed({
return <Info>The quoted post is blocked.</Info>
}
// Case 3.8: Detached quote post
if (AppBskyEmbedRecord.isViewDetached(record)) {
// Just don't show anything
return null
}
// Unknown embed type
return null
}