From da4ed0873977c21d99fa67c28cba322654a09ae6 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 1 May 2015 13:29:38 +0100 Subject: [PATCH] One too many lens --- synapse/handlers/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index bd7a2a592..cfa2e38ed 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})