summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-07-04 15:31:00 +0100
committerRichard van der Hoff <richard@matrix.org>2018-07-04 19:06:20 +0100
commit3cf3e08a97f4617763ce10da4f127c0e21d7ff1d (patch)
tree06eb240c96202c788dcb35362e22e4d5836a8a82 /synapse/api
parentMore server_name validation (diff)
downloadsynapse-3cf3e08a97f4617763ce10da4f127c0e21d7ff1d.tar.xz
Implementation of server_acls
... as described at
https://docs.google.com/document/d/1EttUVzjc2DWe2ciw4XPtNpUpIl9lWXGEsy2ewDS7rtw.
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index 5baba43966..4df930c8d1 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -76,6 +76,8 @@ class EventTypes(object):
     Topic = "m.room.topic"
     Name = "m.room.name"
 
+    ServerACL = "m.room.server_acl"
+
 
 class RejectedReason(object):
     AUTH_ERROR = "auth_error"