Browse Source

ALL_USER_TYPES should be a tuple

Neil Johnson 5 years ago
parent
commit
9ec56d6935
2 changed files with 2 additions and 1 deletions
  1. 1 0
      changelog.d/4392.bugfix
  2. 1 1
      synapse/api/constants.py

+ 1 - 0
changelog.d/4392.bugfix

@@ -0,0 +1 @@
+Fix typo in ALL_USER_TYPES definition to ensure type is a tuple

+ 1 - 1
synapse/api/constants.py

@@ -128,4 +128,4 @@ class UserTypes(object):
     'admin' and 'guest' users should also be UserTypes. Normal users are type None
     """
     SUPPORT = "support"
-    ALL_USER_TYPES = (SUPPORT)
+    ALL_USER_TYPES = (SUPPORT,)