[Glitch] Change alt text reminder to not appear for private mentions in web UI

Port d50110a17a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2025-03-06 20:13:49 +01:00
committed by Claire
parent af668b9837
commit ed6544477b
@@ -132,7 +132,7 @@ class ComposeForm extends ImmutablePureComponent {
return;
}
this.props.onSubmit(missingAltTextModal && this.props.missingAltText, overridePrivacy);
this.props.onSubmit(missingAltTextModal && this.props.missingAltText && this.props.privacy !== 'direct', overridePrivacy);
if (e) {
e.preventDefault();