diff options
author | Erik Johnston <erik@matrix.org> | 2017-10-09 15:17:34 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-10-09 15:17:34 +0100 |
commit | e8496efe8467568f488c6f53056be4bf69fd56e1 (patch) | |
tree | bbd8db6acf7c799f2c73ceecc6b836f4bbfe0b04 /synapse/storage/roommember.py | |
parent | Invalidate cache (diff) | |
download | synapse-e8496efe8467568f488c6f53056be4bf69fd56e1.tar.xz |
Fix up comment
Diffstat (limited to 'synapse/storage/roommember.py')
-rw-r--r-- | synapse/storage/roommember.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index 63f6115ba9..a0fc9a6867 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -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") |