about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-11-19 17:39:47 +0100
committerGitHub <noreply@github.com>2020-11-19 17:39:47 +0100
commit2f6831f3187af0dfd9cacd7d4cba5664be7a9cbd (patch)
treedbbae657480e429be868b0a8c466300caa35e382 /app/lib
parentdf1653174be233f2737d8ec281325dee54011947 (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')
-rw-r--r--app/lib/activitypub/activity/delete.rb2
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