From ed6544477b31faea73ededf32a2600ea59e0e95a Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 28 Feb 2025 19:02:58 +0100 Subject: [PATCH] [Glitch] Change alt text reminder to not appear for private mentions in web UI Port d50110a17aa35fb2e836a676ae9d3a8559bedb12 to glitch-soc Signed-off-by: Claire --- .../glitch/features/compose/components/compose_form.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/compose/components/compose_form.jsx b/app/javascript/flavours/glitch/features/compose/components/compose_form.jsx index 957141cd78..ab798b921f 100644 --- a/app/javascript/flavours/glitch/features/compose/components/compose_form.jsx +++ b/app/javascript/flavours/glitch/features/compose/components/compose_form.jsx @@ -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();