summary refs log tree commit diff
path: root/synapse/storage/roommember.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-04 14:50:24 +0100
committerErik Johnston <erik@matrix.org>2017-05-04 14:50:24 +0100
commitdfaa58f72d3455affcac58c8b604d21935183e88 (patch)
tree9e813d30b0dd8e6491da7236fef0068d46aa9e3a /synapse/storage/roommember.py
parentAdd new storage functions to slave store (diff)
downloadsynapse-dfaa58f72d3455affcac58c8b604d21935183e88.tar.xz
Fix comment and num args
Diffstat (limited to 'synapse/storage/roommember.py')
-rw-r--r--synapse/storage/roommember.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index 1c0fa8a680..c571da2ce4 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -494,7 +494,7 @@ class RoomMemberStore(SQLBaseStore):
             room_id, state_group, state_ids
         )
 
-    @cachedInlineCallbacks(num_args=3)
+    @cachedInlineCallbacks(num_args=2)
     def _get_joined_hosts(self, room_id, state_group, current_state_ids):
         # We don't use `state_group`, its there so that we can cache based
         # on it. However, its important that its never None, since two current_state's