Fix comment and num args

This commit is contained in:
Erik Johnston 2017-05-04 14:50:24 +01:00
parent 9ac263ed1b
commit dfaa58f72d
2 changed files with 2 additions and 2 deletions

View file

@ -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