mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-16 15:01:23 +01:00
Revert spurious delete
This commit is contained in:
parent
8d8834d3e7
commit
cd62981a6a
1 changed files with 4 additions and 0 deletions
|
@ -391,6 +391,10 @@ class EventCreationHandler(object):
|
|||
if self._block_events_without_consent_error is None:
|
||||
return
|
||||
|
||||
# exempt AS users from needing consent
|
||||
if requester.app_service is not None:
|
||||
return
|
||||
|
||||
user_id = requester.user.to_string()
|
||||
|
||||
# exempt the system notices user
|
||||
|
|
Loading…
Reference in a new issue