summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-17 19:29:42 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-06-17 20:24:30 +0100
commit1cd0ecc1f22be02bfb11794cb472d333fd82d238 (patch)
tree51b288b793600921298e35b9652f589e918e280a
parentFix function call (diff)
downloadsynapse-1cd0ecc1f22be02bfb11794cb472d333fd82d238.tar.xz
Rename into RoomAccessRules
-rw-r--r--synapse/third_party_rules/__init__.py (renamed from synapse/tchap/__init__.py)0
-rw-r--r--synapse/third_party_rules/access_rules.py (renamed from synapse/tchap/event_rules.py)2
2 files changed, 1 insertions, 1 deletions
diff --git a/synapse/tchap/__init__.py b/synapse/third_party_rules/__init__.py
index 1453d04571..1453d04571 100644
--- a/synapse/tchap/__init__.py
+++ b/synapse/third_party_rules/__init__.py
diff --git a/synapse/tchap/event_rules.py b/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"]