mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-09 15:42:11 +00: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…
Reference in New Issue
Block a user