summary refs log tree commit diff
path: root/synapse/handlers/appservice.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-05-01 13:45:25 +0100
committerDavid Baker <dave@matrix.org>2015-05-01 13:45:54 +0100
commit92b20713d7c6346aeb20dc09963081e472752bb5 (patch)
tree0fa4ae7373cc339addc7c92ca104962b32298ff9 /synapse/handlers/appservice.py
parentOne too many lens (diff)
downloadsynapse-92b20713d7c6346aeb20dc09963081e472752bb5.tar.xz
More missed get_user_by_id API changes
Diffstat (limited to 'synapse/handlers/appservice.py')
-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 492a630fdc..355ab317df 100644
--- a/synapse/handlers/appservice.py
+++ b/synapse/handlers/appservice.py
@@ -180,7 +180,7 @@ class ApplicationServicesHandler(object):
             return
 
         user_info = yield self.store.get_user_by_id(user_id)
-        if len(user_info) > 0:
+        if not user_info:
             defer.returnValue(False)
             return