From bd8448ccb26e54291cc754f29a0fca88fa9b0515 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Fri, 14 Jun 2019 17:26:37 +0100 Subject: Backbone --- synapse/tchap/event_rules.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'synapse') 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 -- cgit 1.5.1