summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-10-22 17:19:43 +0100
committerNeil Johnson <neil@matrix.org>2019-10-22 17:19:43 +0100
commit1e1afccacb94970ab77ec35e9803306037508c6e (patch)
tree6036ce22149b39f8e7b94b5c6c3976af2be42356
parentensure that suppresion affects only mau case (diff)
parentUpdate synapse/server_notices/resource_limits_server_notices.py (diff)
downloadsynapse-1e1afccacb94970ab77ec35e9803306037508c6e.tar.xz
Merge branch 'neilj/disable-mau-alerting-for-small-instances' of github.com:matrix-org/synapse into neilj/disable-mau-alerting-for-small-instances
-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 72015c4c03..0eca35aa4d 100644
--- a/synapse/server_notices/resource_limits_server_notices.py
+++ b/synapse/server_notices/resource_limits_server_notices.py
@@ -132,7 +132,7 @@ class ResourceLimitsServerNotices(object):
 
         Args:
             user_id (str): user to notify
-            ref_events ([]): The list of pinned events that are unrelated to
+            ref_events (list[str]): The event_ids of pinned events that are unrelated to
             limit blocking and need to be preserved.
         """
         content = {"pinned": ref_events}