summary refs log tree commit diff
path: root/synapse/appservice/__init__.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-03-31 11:35:45 +0100
committerKegan Dougal <kegan@matrix.org>2015-03-31 11:35:45 +0100
commitb59aa745560608c8503421bd9542c99fc1c571b5 (patch)
treed1a84c66198862dc072e9e3d4b81cceb986ff47e /synapse/appservice/__init__.py
parentRemove more reg/unreg methods. Read config not database for cache. (diff)
downloadsynapse-b59aa745560608c8503421bd9542c99fc1c571b5.tar.xz
Fix tests and missing returns on deferreds.
Diffstat (limited to 'synapse/appservice/__init__.py')
-rw-r--r--synapse/appservice/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/appservice/__init__.py b/synapse/appservice/__init__.py
index c60db16b74..a8108c1efb 100644
--- a/synapse/appservice/__init__.py
+++ b/synapse/appservice/__init__.py
@@ -95,7 +95,7 @@ class ApplicationService(object):
         #   rooms: [ {regex: "[A-z]+.*", exclusive: true}, ...],
         # }
         if not namespaces:
-            return None
+            namespaces = {}
 
         for ns in ApplicationService.NS_LIST:
             if ns not in namespaces: