summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-17 19:22:31 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-06-17 20:24:26 +0100
commit19a4298a51a99f4a920693824bdba8f4758de805 (patch)
tree242ea564110b21e700b50b5346c0eb81b7e0d721
parentImplement rules change (diff)
downloadsynapse-19a4298a51a99f4a920693824bdba8f4758de805.tar.xz
Fix function call
-rw-r--r--synapse/tchap/event_rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/tchap/event_rules.py b/synapse/tchap/event_rules.py
index 18d6d3bd6f..a724b22790 100644
--- a/synapse/tchap/event_rules.py
+++ b/synapse/tchap/event_rules.py
@@ -120,7 +120,7 @@ class TchapEventRules(object):
         else:
             # We currently apply the default (restricted) if we don't know the rule, we
             # might want to change that in the future.
-            ret = self._apply_restricted(event, state_events)
+            ret = self._apply_restricted(event)
 
         return ret