[Glitch] Ensure quote posts have no collection previews

Port 655de329906045b4cf4bba9139016c213792f443 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion 2026-05-19 16:14:25 +02:00 committed by Claire
parent 0612de6202
commit 6db587d78b

View File

@ -661,7 +661,7 @@ class Status extends ImmutablePureComponent {
);
}
mediaIcons.push('link');
} else if (status.get('tagged_collections').size && settings.get('inline_preview_cards') && !this.props.muted) {
} else if (status.get('tagged_collections').size && !status.get('quote') && settings.get('inline_preview_cards') && !this.props.muted) {
const firstLinkedCollection = status.get('tagged_collections').first();
if (firstLinkedCollection) {
media = (