0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-17 23:42:33 +01:00
This commit is contained in:
Erik Johnston 2016-09-17 14:59:40 +01:00
parent 71edaae981
commit a298331de4

View file

@ -135,7 +135,7 @@ class RoomListHandler(BaseHandler):
rooms_to_scan = rooms_to_scan[:since_token.current_limit] rooms_to_scan = rooms_to_scan[:since_token.current_limit]
rooms_to_scan.reverse() rooms_to_scan.reverse()
# If there's not search filter just limit the range since we'll # If there's no search filter just limit the range since we'll
# return the vast majority of things. # return the vast majority of things.
if limit and not search_filter: if limit and not search_filter:
rooms_to_scan = rooms_to_scan[:limit + 1] rooms_to_scan = rooms_to_scan[:limit + 1]