about summary refs log tree commit diff
path: root/app/services/reject_follow_service.rb
diff options
context:
space:
mode:
authorHolly 'Frinkel' Lotor <admin@frinkel.tech>2020-01-20 21:14:05 +0000
committerHolly 'Frinkel' Lotor <admin@frinkel.tech>2020-01-20 16:58:12 -0500
commit7dc114f5895905151d7d903b1adb6928da46a45a (patch)
treec2d195213a8514f5c020d9927b3386bb976d4d06 /app/services/reject_follow_service.rb
parente37c5a967af4b9c4338df709646375ea427f157e (diff)
More smoke testing, I believe the stability is passable now
Diffstat (limited to 'app/services/reject_follow_service.rb')
-rw-r--r--app/services/reject_follow_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/reject_follow_service.rb b/app/services/reject_follow_service.rb
index bc0000c8c..afdb165e0 100644
--- a/app/services/reject_follow_service.rb
+++ b/app/services/reject_follow_service.rb
@@ -6,7 +6,7 @@ class RejectFollowService < BaseService
   def call(source_account, target_account)
     follow_request = FollowRequest.find_by!(account: source_account, target_account: target_account)
     follow_request.reject!
-    create_notification(follow_request) if !source_account.local? && source_account.activitypub?
+    create_notification(follow_request) if !source_account.local?
     follow_request
   end