summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-08-22 14:47:43 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-08-22 14:47:43 +0100
commitdbd46decad5f47208171b73949714d9dcb1a87b1 (patch)
tree17f382b1d4f5aef26d61fbcab118344364baacbf /synapse
parentRevert "Add "require_consent" parameter for registration" (diff)
downloadsynapse-dbd46decad5f47208171b73949714d9dcb1a87b1.tar.xz
Revert "Do not send consent notices if "no-consent-required" is set"
This reverts commit 27a686e53b8ba3f2e2f102fae73e598c00ec0086.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/server_notices/consent_server_notices.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/server_notices/consent_server_notices.py b/synapse/server_notices/consent_server_notices.py

index 8e82ee32b2..415e9c17d8 100644 --- a/synapse/server_notices/consent_server_notices.py +++ b/synapse/server_notices/consent_server_notices.py
@@ -80,10 +80,6 @@ class ConsentServerNotices(object): try: u = yield self._store.get_user_by_id(user_id) - if u["consent_version"] == "no-consent-required": - # user is exempt - return - if u["is_guest"] and not self._send_to_guests: # don't send to guests return