about summary refs log tree commit diff
path: root/app/models/form
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-07 18:29:28 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-07 18:29:28 -0600
commit174f588004d67fa6131c1f3d480b8f5d35ec0c62 (patch)
treeb1e58391d3a12b1a75a1508fd16b7e54281e1a07 /app/models/form
parent776d558ff94b8b97fea3d92aa1dd2ee80f82d4c1 (diff)
get rid of unneccesary protocol check from upstream
Diffstat (limited to 'app/models/form')
-rw-r--r--app/models/form/account_batch.rb2
1 files changed, 0 insertions, 2 deletions
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