mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-02-06 05:45:21 -05:00
Revert spurious delete
This commit is contained in:
parent
8d8834d3e7
commit
cd62981a6a
@ -391,6 +391,10 @@ class EventCreationHandler(object):
|
|||||||
if self._block_events_without_consent_error is None:
|
if self._block_events_without_consent_error is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# exempt AS users from needing consent
|
||||||
|
if requester.app_service is not None:
|
||||||
|
return
|
||||||
|
|
||||||
user_id = requester.user.to_string()
|
user_id = requester.user.to_string()
|
||||||
|
|
||||||
# exempt the system notices user
|
# exempt the system notices user
|
||||||
|
Loading…
x
Reference in New Issue
Block a user