0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-21 17:53:51 +01:00

Fix up comment

This commit is contained in:
Erik Johnston 2017-10-09 15:17:34 +01:00
parent 11d62f43c9
commit e8496efe84

View file

@ -542,7 +542,8 @@ class RoomMemberStore(SQLBaseStore):
host (str)
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:
raise Exception("Invalid host name")