summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-09 15:17:34 +0100
committerErik Johnston <erik@matrix.org>2017-10-09 15:17:34 +0100
commite8496efe8467568f488c6f53056be4bf69fd56e1 (patch)
treebbd8db6acf7c799f2c73ceecc6b836f4bbfe0b04
parentInvalidate cache (diff)
downloadsynapse-e8496efe8467568f488c6f53056be4bf69fd56e1.tar.xz
Fix up comment
-rw-r--r--synapse/storage/roommember.py3
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")