From a429da37f403683c4befe854b09005dbde8fa521 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 5 Jan 2023 13:29:44 +0800 Subject: [PATCH] Don't show card for sensitive/CW content --- src/components/status.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/status.jsx b/src/components/status.jsx index a23e0860..a9c34714 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -432,6 +432,8 @@ function Status({ )} {!!card && + !sensitive && + !spoilerText && (size === 'l' || (size === 'm' && !poll && !mediaAttachments.length)) && (