Add explicit non-handling of detached quotes in embed (#5156)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user