diff options
author | Neil Johnson <neil@fragile.org.uk> | 2018-01-25 23:52:17 +0000 |
---|---|---|
committer | Neil Johnson <neil@fragile.org.uk> | 2018-01-25 23:52:17 +0000 |
commit | f6320835764dbb6cac058763737d67ca6359e3a9 (patch) | |
tree | 26355630a541bc1dfb598a6972c03dcffdeb5fc4 /synapse | |
parent | fix PEP8 violation (diff) | |
download | synapse-f6320835764dbb6cac058763737d67ca6359e3a9.tar.xz |
fix return type, should be a dict
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/room_list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py index f466a64ed9..2ee63548ca 100644 --- a/synapse/handlers/room_list.py +++ b/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 |