mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
fix return type, should be a dict
This commit is contained in:
parent
6c6e197b0a
commit
f632083576
@ -188,7 +188,7 @@ class RoomListHandler(BaseHandler):
|
|||||||
|
|
||||||
# bail if no rooms to work on
|
# bail if no rooms to work on
|
||||||
if len(rooms_to_scan) == 0:
|
if len(rooms_to_scan) == 0:
|
||||||
defer.returnValue([])
|
defer.returnValue({})
|
||||||
|
|
||||||
# _append_room_entry_to_chunk will append to chunk but will stop if
|
# _append_room_entry_to_chunk will append to chunk but will stop if
|
||||||
# len(chunk) > limit
|
# len(chunk) > limit
|
||||||
|
Loading…
Reference in New Issue
Block a user