summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-13 16:10:20 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-13 16:10:20 +0100
commit118e789e0c097e147428ac456b60be3281c5264e (patch)
tree3464c466ce6e4e909a75b71b382561e5e1792b93 /synapse/api/constants.py
parentMerge branch 'matrix-org-hotfixes' of github.com:matrix-org/synapse into matr... (diff)
parentUpdate changelog for v1.32.0 (diff)
downloadsynapse-118e789e0c097e147428ac456b60be3281c5264e.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index 6856dab06c..a8ae41de48 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -73,6 +73,11 @@ class LoginType: DUMMY = "m.login.dummy" +# This is used in the `type` parameter for /register when called by +# an appservice to register a new user. +APP_SERVICE_REGISTRATION_TYPE = "m.login.application_service" + + class EventTypes: Member = "m.room.member" Create = "m.room.create"