From f0c73a1e7a723585d5ca983d6743a64cab92d1f5 Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Thu, 18 Aug 2016 13:53:54 +0100 Subject: [PATCH] Extend individual list results into the main return list, don't append --- synapse/handlers/appservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/handlers/appservice.py b/synapse/handlers/appservice.py index 69fd766613..f124590e4a 100644 --- a/synapse/handlers/appservice.py +++ b/synapse/handlers/appservice.py @@ -131,7 +131,7 @@ class ApplicationServicesHandler(object): service, protocol, fields ) if result: - results.append(result) + results.extend(result) defer.returnValue(results)