summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2016-08-18 13:53:54 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2016-08-18 13:53:54 +0100
commitf0c73a1e7a723585d5ca983d6743a64cab92d1f5 (patch)
tree16c7e27dddd4f5693407c0ed3407c7ba8a23be08 /synapse/handlers
parentDon't catch the return-value-as-exception that @defer.inlineCallbacks will use (diff)
downloadsynapse-f0c73a1e7a723585d5ca983d6743a64cab92d1f5.tar.xz
Extend individual list results into the main return list, don't append
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/appservice.py2
1 files changed, 1 insertions, 1 deletions
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)