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 authored and James Valleroy committed 2025-05-30 15:14:14 -04:00
1 parent 5b0d980035
commit 927e1dc822
1 file changed
+2 -7
+2 -7
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():