Allow posting quotes with no text

Fixes #36474
This commit is contained in:
Claire 2025-10-16 14:44:02 +02:00
parent 5a8ab0a3e6
commit 7690400505

View File

@ -197,7 +197,7 @@ export function submitCompose(successCallback) {
const hasQuote = !!getState().getIn(['compose', 'quoted_status_id']);
const spoiler_text = getState().getIn(['compose', 'spoiler']) ? getState().getIn(['compose', 'spoiler_text'], '') : '';
if (!(status?.length || media.size !== 0 || (hasQuote && spoiler_text?.length))) {
if (!(status?.length || media.size !== 0 || hasQuote)) {
return;
}