mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-04-27 03:29:10 -04:00
Revert "Do not send consent notices if "no-consent-required" is set"
This reverts commit 27a686e53b8ba3f2e2f102fae73e598c00ec0086.
This commit is contained in:
parent
1c5b8c6222
commit
dbd46decad
@ -80,10 +80,6 @@ class ConsentServerNotices(object):
|
|||||||
try:
|
try:
|
||||||
u = yield self._store.get_user_by_id(user_id)
|
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:
|
if u["is_guest"] and not self._send_to_guests:
|
||||||
# don't send to guests
|
# don't send to guests
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user