diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-10-21 21:40:27 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-10-21 21:40:27 -0500 |
commit | fdb968b54d06c7ace6bf498361883b4c8c26fa6f (patch) | |
tree | e4480977a371a9970b27aa7395e539213d3a17ae | |
parent | ca02e60f4f5dab0e53d3d17a3ee5a760c05d6fdd (diff) |
Reciprocate incoming blocks
-rw-r--r-- | app/lib/activitypub/activity/block.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/block.rb b/app/lib/activitypub/activity/block.rb index 90477bf33..d8ca9951e 100644 --- a/app/lib/activitypub/activity/block.rb +++ b/app/lib/activitypub/activity/block.rb @@ -11,7 +11,7 @@ class ActivityPub::Activity::Block < ActivityPub::Activity return end - UnfollowService.new.call(target_account, @account) if target_account.following?(@account) + BlockService.new.call(target_account, @account) @account.block!(target_account, uri: @json['id']) unless delete_arrived_first?(@json['id']) end |