0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 23:53:51 +01:00

Revert spurious delete

This commit is contained in:
Erik Johnston 2019-03-20 17:51:27 +00:00
parent 8d8834d3e7
commit cd62981a6a

View file

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