Add in comment

pull/16425/head
Jason Little 2023-10-02 19:39:57 -05:00
parent a01ee24734
commit 5e56ab774e
1 changed files with 1 additions and 0 deletions

View File

@ -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