From 174f588004d67fa6131c1f3d480b8f5d35ec0c62 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 7 Dec 2019 18:29:28 -0600 Subject: get rid of unneccesary protocol check from upstream --- app/models/form/account_batch.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'app') diff --git a/app/models/form/account_batch.rb b/app/models/form/account_batch.rb index f1b7a4566..22aed7e34 100644 --- a/app/models/form/account_batch.rb +++ b/app/models/form/account_batch.rb @@ -53,8 +53,6 @@ class Form::AccountBatch def reject_follow!(follow) follow.destroy - return unless follow.account.activitypub? - ActivityPub::DeliveryWorker.perform_async(Oj.dump(serialize_payload(follow, ActivityPub::RejectFollowSerializer)), current_account.id, follow.account.inbox_url) end -- cgit