diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2016-08-18 13:53:54 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2016-08-18 13:53:54 +0100 |
commit | f0c73a1e7a723585d5ca983d6743a64cab92d1f5 (patch) | |
tree | 16c7e27dddd4f5693407c0ed3407c7ba8a23be08 /synapse/handlers | |
parent | Don't catch the return-value-as-exception that @defer.inlineCallbacks will use (diff) | |
download | synapse-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.py | 2 |
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) |