0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-16 01:28:32 +02:00

Revert "Do not send consent notices if "no-consent-required" is set"

This reverts commit 27a686e53b.
This commit is contained in:
Brendan Abolivier 2019-08-22 14:47:43 +01:00
parent 1c5b8c6222
commit dbd46decad

View file

@ -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