Put function def back to the way it was

pull/4747/head
Andrew Morgan 2019-02-26 14:13:38 +00:00
parent 7a4632af9c
commit 6fcb25202f
1 changed files with 3 additions and 3 deletions

View File

@ -312,9 +312,9 @@ class RoomListHandler(BaseHandler):
if _matches_room_entry(result, search_filter): if _matches_room_entry(result, search_filter):
chunk.append(result) chunk.append(result)
@cachedInlineCallbacks(num_args=2, cache_context=True) @cachedInlineCallbacks(num_args=1, cache_context=True)
def generate_room_entry(self, room_id, num_joined_users, def generate_room_entry(self, room_id, num_joined_users, cache_context,
cache_context, with_alias=True, allow_private=False): with_alias=True, allow_private=False):
"""Returns the entry for a room """Returns the entry for a room
Args: Args: