Add explicit non-handling of detached quotes in embed
This commit is contained in:
@@ -158,6 +158,12 @@ export function Embed({
|
|||||||
return <Info>The quoted post is blocked.</Info>
|
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
|
// Unknown embed type
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user