2
0

Fix quote with CW but no text being shown without CW (#36150)

This commit is contained in:
Claire
2025-09-17 14:00:58 +02:00
parent 4e85b9073b
commit 06c2393805

View File

@@ -81,7 +81,7 @@ export function normalizeStatus(status, normalOldStatus) {
} else {
// If the status has a CW but no contents, treat the CW as if it were the
// status' contents, to avoid having a CW toggle with seemingly no effect.
if (normalStatus.spoiler_text && !normalStatus.content) {
if (normalStatus.spoiler_text && !normalStatus.content && !normalStatus.quote) {
normalStatus.content = normalStatus.spoiler_text;
normalStatus.spoiler_text = '';
}