Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Revert "Do not send consent notices if "no-consent-required" is set"
Browse files Browse the repository at this point in the history
This reverts commit 27a686e.
  • Loading branch information
babolivier committed Aug 22, 2019
1 parent 1c5b8c6 commit dbd46de
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions synapse/server_notices/consent_server_notices.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ def maybe_send_server_notice_to_user(self, user_id):
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
Expand Down

0 comments on commit dbd46de

Please sign in to comment.