diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-01 13:29:38 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-01 13:29:38 +0100 |
commit | da4ed0873977c21d99fa67c28cba322654a09ae6 (patch) | |
tree | 3315d7f1e432a81e6a135e4f7ceada6d3ac9cd70 /synapse | |
parent | Change public room list to use defer.gatherResults (diff) | |
download | synapse-da4ed0873977c21d99fa67c28cba322654a09ae6.tar.xz |
One too many lens
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index bd7a2a592e..cfa2e38ed2 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -540,7 +540,7 @@ class RoomListHandler(BaseHandler): ) for i, room in enumerate(chunk): - room["num_joined_members"] = len(len(results[i])) + room["num_joined_members"] = len(results[i]) # FIXME (erikj): START is no longer a valid value defer.returnValue({"start": "START", "end": "END", "chunk": chunk}) |