2
0

Change alt text reminder to not appear for private mentions in web UI (#33784)

This commit is contained in:
Eugen Rochko
2025-02-28 19:02:58 +01:00
committed by GitHub
parent 894b96cf1f
commit d50110a17a

View File

@@ -120,7 +120,7 @@ class ComposeForm extends ImmutablePureComponent {
return; return;
} }
this.props.onSubmit(missingAltTextModal && this.props.missingAltText); this.props.onSubmit(missingAltTextModal && this.props.missingAltText && this.props.privacy !== 'direct');
if (e) { if (e) {
e.preventDefault(); e.preventDefault();