Skip to content
Snippets Groups Projects
Commit b7b62bf9 authored by Erik Johnston's avatar Erik Johnston
Browse files

Comment

parent d84319ae
No related branches found
No related tags found
No related merge requests found
......@@ -220,6 +220,8 @@ class RoomListHandler(BaseHandler):
chunk.sort(key=lambda e: (-e["num_joined_members"], e["room_id"]))
# Work out the new limit of the batch for pagination, or None if we
# know there are no more results that would be returned.
new_limit = None
if chunk and (not limit or len(chunk) > limit):
if limit:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment