diff options
author | Neil Johnson <neil@fragile.org.uk> | 2018-01-26 00:12:02 +0000 |
---|---|---|
committer | Neil Johnson <neil@fragile.org.uk> | 2018-01-26 00:12:02 +0000 |
commit | 86c4f49a31fe044a727c64e40009596050cdab95 (patch) | |
tree | e1649e67f6c4d1b968fea9950ce7482ff9e21bca | |
parent | fix return type, should be a dict (diff) | |
download | synapse-86c4f49a31fe044a727c64e40009596050cdab95.tar.xz |
rather than try reconstruct the results object, better to guard against the xrange step argument being 0
-rw-r--r-- | synapse/handlers/room_list.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py |