diff options
author | David Baker <dave@matrix.org> | 2015-05-01 13:45:25 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-05-01 13:45:54 +0100 |
commit | 92b20713d7c6346aeb20dc09963081e472752bb5 (patch) | |
tree | 0fa4ae7373cc339addc7c92ca104962b32298ff9 /synapse/handlers | |
parent | One too many lens (diff) | |
download | synapse-92b20713d7c6346aeb20dc09963081e472752bb5.tar.xz |
More missed get_user_by_id API changes
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 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 |