mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 07:52:56 +01:00
Fix up comment
This commit is contained in:
parent
11d62f43c9
commit
e8496efe84
1 changed files with 2 additions and 1 deletions
|
@ -542,7 +542,8 @@ class RoomMemberStore(SQLBaseStore):
|
||||||
host (str)
|
host (str)
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
bool: whether the host is/was in the room or not
|
Deferred: Resolves to True if the host is/was in the room, otherwise
|
||||||
|
False.
|
||||||
"""
|
"""
|
||||||
if '%' in host or '_' in host:
|
if '%' in host or '_' in host:
|
||||||
raise Exception("Invalid host name")
|
raise Exception("Invalid host name")
|
||||||
|
|
Loading…
Reference in a new issue