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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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