summary refs log tree commit diff
path: root/synapse/storage/registration.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/registration.py')
-rw-r--r--synapse/storage/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py
index 9387b29503..54b0846c54 100644
--- a/synapse/storage/registration.py
+++ b/synapse/storage/registration.py
@@ -358,7 +358,7 @@ class RegistrationWorkerStore(SQLBaseStore):
             retcol="user_type",
             allow_none=True,
         )
-        return True if res is None or res == "" else False
+        return res is None
 
     def is_support_user_txn(self, txn, user_id):
         res = self._simple_select_one_onecol_txn(