fix return type, should be a dict

pull/4/merge
Neil Johnson 7 years ago
parent 6c6e197b0a
commit f632083576
  1. 2
      synapse/handlers/room_list.py

@ -188,7 +188,7 @@ class RoomListHandler(BaseHandler):
# bail if no rooms to work on
if len(rooms_to_scan) == 0:
defer.returnValue([])
defer.returnValue({})
# _append_room_entry_to_chunk will append to chunk but will stop if
# len(chunk) > limit

Loading…
Cancel
Save