diff options
author | ThibG <thib@sitedethib.com> | 2020-11-19 17:39:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 17:39:47 +0100 |
commit | 2f6831f3187af0dfd9cacd7d4cba5664be7a9cbd (patch) | |
tree | dbbae657480e429be868b0a8c466300caa35e382 /app/lib/activitypub | |
parent | df1653174be233f2737d8ec281325dee54011947 (diff) |
Fix sending spurious Rejects when processing remote account deletion (#15104)
* Fix sending spurious Rejects when processing remote account deletion * Make skip_side_effects imply skip_activitypub
Diffstat (limited to 'app/lib/activitypub')
-rw-r--r-- | app/lib/activitypub/activity/delete.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/delete.rb b/app/lib/activitypub/activity/delete.rb index 09b9e5e0e..2e5293b83 100644 --- a/app/lib/activitypub/activity/delete.rb +++ b/app/lib/activitypub/activity/delete.rb @@ -13,7 +13,7 @@ class ActivityPub::Activity::Delete < ActivityPub::Activity def delete_person lock_or_return("delete_in_progress:#{@account.id}") do - DeleteAccountService.new.call(@account, reserve_username: false) + DeleteAccountService.new.call(@account, reserve_username: false, skip_activitypub: true) end end |