Merge pull request #4392 from matrix-org/neilj/fix_user_type_typo

ALL_USER_TYPES should be a tuple
This commit is contained in:
Erik Johnston 2019-01-15 14:56:52 +00:00 committed by GitHub
commit aa955f2d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/4392.bugfix Normal file
View File

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

View File

@ -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,)