Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Put function def back to the way it was
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Feb 26, 2019
1 parent 7a4632a commit 6fcb252
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions synapse/handlers/room_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,9 @@ def _append_room_entry_to_chunk(self, room_id, num_joined_users, chunk, limit,
if _matches_room_entry(result, search_filter):
chunk.append(result)

@cachedInlineCallbacks(num_args=2, cache_context=True)
def generate_room_entry(self, room_id, num_joined_users,
cache_context, with_alias=True, allow_private=False):
@cachedInlineCallbacks(num_args=1, cache_context=True)
def generate_room_entry(self, room_id, num_joined_users, cache_context,
with_alias=True, allow_private=False):
"""Returns the entry for a room
Args:
Expand Down

0 comments on commit 6fcb252

Please sign in to comment.