summary refs log tree commit diff
path: root/synapse/server_notices/consent_server_notices.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-14 13:32:56 +0100
committerNeil Johnson <neil@matrix.org>2018-08-14 13:32:56 +0100
commite2c9fe0a6a6dbe4f81402b79b6605e17fb05e5d4 (patch)
treebad367e8638e754765f4c817770ab06beb8493b3 /synapse/server_notices/consent_server_notices.py
parentsupport server notice state events for resource limits (diff)
downloadsynapse-e2c9fe0a6a6dbe4f81402b79b6605e17fb05e5d4.tar.xz
backout ability to pass in event type to server notices
Diffstat (limited to 'synapse/server_notices/consent_server_notices.py')
-rw-r--r--synapse/server_notices/consent_server_notices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/server_notices/consent_server_notices.py b/synapse/server_notices/consent_server_notices.py
index 6d5caedb08..783ceae1ad 100644
--- a/synapse/server_notices/consent_server_notices.py
+++ b/synapse/server_notices/consent_server_notices.py
@@ -104,7 +104,7 @@ class ConsentServerNotices(object):
                     },
                 )
                 yield self._server_notices_manager.send_notice(
-                    user_id, content, EventTypes.Message
+                    user_id, content
                 )
                 yield self._store.user_set_consent_server_notice_sent(
                     user_id, self._current_consent_version,