summary refs log tree commit diff
path: root/synapse/server_notices
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-08-24 16:51:27 +0100
committerErik Johnston <erik@matrix.org>2018-08-24 16:51:27 +0100
commit05077e06fa527a9b504e34bbd14af53ba66d3f62 (patch)
tree46b20a6a5a0e9ba4abde6f7d3602b3c03a83f375 /synapse/server_notices
parentMerge pull request #3755 from matrix-org/erikj/fix_server_notice_tags (diff)
downloadsynapse-05077e06fa527a9b504e34bbd14af53ba66d3f62.tar.xz
Change admin_uri to admin_contact in config and errors
Diffstat (limited to 'synapse/server_notices')
-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 893b9001cd..c584c8f907 100644
--- a/synapse/server_notices/resource_limits_server_notices.py
+++ b/synapse/server_notices/resource_limits_server_notices.py
@@ -118,7 +118,7 @@ class ResourceLimitsServerNotices(object):
                     'body': event_content,
                     'msgtype': ServerNoticeMsgType,
                     'server_notice_type': ServerNoticeLimitReached,
-                    'admin_uri': self._config.admin_uri,
+                    'admin_contact': self._config.admin_contact,
                     'limit_type': event_limit_type
                 }
                 event = yield self._server_notices_manager.send_notice(