diff --git a/synapse/appservice/__init__.py b/synapse/appservice/__init__.py index 6f4aa53c93..b26b76f1fe 100644 --- a/synapse/appservice/__init__.py +++ b/synapse/appservice/__init__.py @@ -82,6 +82,7 @@ class ApplicationService: msc3202_transaction_extensions: bool = False, ): self.token = token + # the url as brought in could be a [hostname|ip][:port] or a [unix_socket_path] self.url = ( url.rstrip("/") if isinstance(url, str) else None ) # url must not end with a slash