matrixsynapse: Drop help text for domain selection dropdown

- Drop the warning that app may not work properly if domain name is changed.
Currently only user of this form is matrixsynapse. There is already a warning
message that domian name change requires uninstall. This message is redundant
and incorrect.

Tests:

- Install Matrix Synapse on stable VM and ensure that the help text does not
show up.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2025-05-13 13:24:26 -07:00 committed by James Valleroy
parent 5b0d980035
commit 927e1dc822
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -49,9 +49,7 @@ class UninstallForm(forms.Form):
class DomainSelectionForm(forms.Form):
"""Form for selecting a domain name to be used for
distributed federated applications
"""
"""Form for selecting a domain name."""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@ -61,10 +59,7 @@ class DomainSelectionForm(forms.Form):
self.fields['domain_name'].choices = zip(domains, domains)
domain_name = forms.ChoiceField(
label=_('Select a domain name to be used with this application'),
help_text=_(
'Warning! The application may not work properly if domain name is '
'changed later.'), choices=[])
label=_('Select a domain name to be used with this application'))
def _get_domain_choices():