diff options
author | Neil Johnson <neil@matrix.org> | 2018-11-13 16:15:24 +0000 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2018-11-13 16:15:24 +0000 |
commit | a54aaf42add9e32f82c1fa8a60323bb350e63362 (patch) | |
tree | 6dc7ed9d13ec61b450edaab79b43e974fa8a9c46 /synapse/storage | |
parent | remove errant prints (diff) | |
download | synapse-a54aaf42add9e32f82c1fa8a60323bb350e63362.tar.xz |
fix boolean typing
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/user_directory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/user_directory.py b/synapse/storage/user_directory.py index ae7ff5ec73..a77c9a0579 100644 --- a/synapse/storage/user_directory.py +++ b/synapse/storage/user_directory.py @@ -785,7 +785,7 @@ class UserDirectoryStore(SQLBaseStore): desc="is_support_user", ) - defer.returnValue(res if res == UserTypes.SUPPORT else False) + defer.returnValue(True if res == UserTypes.SUPPORT else False) def _parse_query_sqlite(search_term): |