From 097d2d75dea9d5580938ea1ada7f8edcb0d3077b Mon Sep 17 00:00:00 2001 From: Neil Johnson Date: Wed, 23 Oct 2019 15:30:36 +0100 Subject: [PATCH] fix broken method call --- synapse/server_notices/resource_limits_server_notices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)