From d50110a17aa35fb2e836a676ae9d3a8559bedb12 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 28 Feb 2025 19:02:58 +0100 Subject: [PATCH] Change alt text reminder to not appear for private mentions in web UI (#33784) --- .../mastodon/features/compose/components/compose_form.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/compose/components/compose_form.jsx b/app/javascript/mastodon/features/compose/components/compose_form.jsx index 2cd88aab41..75f4720fb3 100644 --- a/app/javascript/mastodon/features/compose/components/compose_form.jsx +++ b/app/javascript/mastodon/features/compose/components/compose_form.jsx @@ -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();