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

This commit is contained in:
Eugen Rochko authored and GitHub committed 2025-02-28 18:02:58 +00:00
1 parent 894b96cf1f
commit d50110a17a
1 file changed
+1 -1
@@ -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();