[Glitch] Change display of quote posts to strip fallback link and preview cards

Port 02ac18da51 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire committed 2025-05-25 16:14:34 +02:00
1 parent cac981662e
commit d28a62f900
3 files changed
+20 -3

No files matched your search

@@ -266,7 +266,7 @@ export const DetailedStatus: React.FC<{
);
mediaIcons.push('video-camera');
}
} else if (status.get('card')) {
} else if (status.get('card') && !status.get('quote')) {
media = (
<Card
sensitive={status.get('sensitive')}
@@ -356,6 +356,9 @@ export const DetailedStatus: React.FC<{
className={classNames(
'detailed-status',
`detailed-status-${status.get('visibility')}`,
{
'status--has-quote': !!status.get('quote'),
},
)}
data-status-by={status.getIn(['account', 'acct'])}
>