summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-10-23 15:30:36 +0100
committerNeil Johnson <neil@matrix.org>2019-10-23 15:30:36 +0100
commit097d2d75dea9d5580938ea1ada7f8edcb0d3077b (patch)
tree72acdf610b54affae4db7e7d96b9659fecec7bac
parentback ref_events change (diff)
downloadsynapse-097d2d75dea9d5580938ea1ada7f8edcb0d3077b.tar.xz
fix broken method call
-rw-r--r--synapse/server_notices/resource_limits_server_notices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/server_notices/resource_limits_server_notices.py b/synapse/server_notices/resource_limits_server_notices.py
index d8baa2c959..6b377c9c63 100644
--- a/synapse/server_notices/resource_limits_server_notices.py
+++ b/synapse/server_notices/resource_limits_server_notices.py
@@ -120,7 +120,7 @@ class ResourceLimitsServerNotices(object):
             elif not currently_blocked and is_auth_blocking:
                 # Room is not notifying of a block, when it ought to be.
                 yield self._apply_limit_block_notification(
-                    user_id, event_body, event_limit_type, ref_events
+                    user_id, event_body, event_limit_type
                 )
         except SynapseError as e:
             logger.error("Error sending resource limits server notice: %s", e)