summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-14 17:26:37 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-06-17 20:19:12 +0100
commitbd8448ccb26e54291cc754f29a0fca88fa9b0515 (patch)
tree2ea29352152a72091d829d0be30adaa5b939c8e5 /synapse
parentBase (diff)
downloadsynapse-bd8448ccb26e54291cc754f29a0fca88fa9b0515.tar.xz
Backbone
Diffstat (limited to 'synapse')
-rw-r--r--synapse/tchap/event_rules.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/synapse/tchap/event_rules.py b/synapse/tchap/event_rules.py

index f82883c642..e8acad7577 100644 --- a/synapse/tchap/event_rules.py +++ b/synapse/tchap/event_rules.py
@@ -18,6 +18,8 @@ from twisted.internet import defer class TchapEventRules(object): + ACESS_RULES_TYPE = "im.vector.room.access_rules" + def __init__(self, config): # We don't have a config yet. pass @@ -29,3 +31,12 @@ class TchapEventRules(object): @defer.inlineCallbacks def check_event_allowed(self, event, context): return True + + def _apply_restricted(self): + pass + + def _apply_unrestricted(self): + pass + + def _apply_direct(self): + pass