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"]