From 85514be908503360dc9bb7d72617975834a89475 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 4 Sep 2024 18:40:10 -0500 Subject: [PATCH] Add explicit non-handling of detached quotes in embed --- bskyembed/src/components/embed.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bskyembed/src/components/embed.tsx b/bskyembed/src/components/embed.tsx index 3b4f5e77d1..772754d0b6 100644 --- a/bskyembed/src/components/embed.tsx +++ b/bskyembed/src/components/embed.tsx @@ -158,6 +158,12 @@ export function Embed({ return The quoted post is blocked. } + // Case 3.8: Detached quote post + if (AppBskyEmbedRecord.isViewDetached(record)) { + // Just don't show anything + return null + } + // Unknown embed type return null }