Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix up comment
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Oct 9, 2017
1 parent 11d62f4 commit e8496ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion synapse/storage/roommember.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,8 @@ def was_host_joined(self, room_id, host):
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")
Expand Down

0 comments on commit e8496ef

Please sign in to comment.