From 1cd0ecc1f22be02bfb11794cb472d333fd82d238 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Mon, 17 Jun 2019 19:29:42 +0100 Subject: [PATCH] Rename into RoomAccessRules --- synapse/{tchap => third_party_rules}/__init__.py | 0 .../{tchap/event_rules.py => third_party_rules/access_rules.py} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename synapse/{tchap => third_party_rules}/__init__.py (100%) rename synapse/{tchap/event_rules.py => third_party_rules/access_rules.py} (99%) diff --git a/synapse/tchap/__init__.py b/synapse/third_party_rules/__init__.py similarity index 100% rename from synapse/tchap/__init__.py rename to synapse/third_party_rules/__init__.py diff --git a/synapse/tchap/event_rules.py b/synapse/third_party_rules/access_rules.py similarity index 99% rename from synapse/tchap/event_rules.py rename to synapse/third_party_rules/access_rules.py index a724b22790..1f03138752 100644 --- a/synapse/tchap/event_rules.py +++ b/synapse/third_party_rules/access_rules.py @@ -27,7 +27,7 @@ ACCESS_RULE_UNRESTRICTED = "unrestricted" ACCESS_RULE_DIRECT = "direct" -class TchapEventRules(object): +class RoomAccessRules(object): def __init__(self, config, http_client): self.http_client = http_client self.id_server = config["id_server"]