about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2020-08-01 20:37:51 -0500
committerStarfall <us@starfall.systems>2020-08-01 20:37:51 -0500
commit29da0014419d0403ecf78f443e74ad6e2246627f (patch)
tree7231ba4ef0a4bf2382ffbe9822a43b5a601c5dee /app/lib
parent3782a976de9ff4af2fe05690fae43615e78ab14d (diff)
parentb12117c4a375b906673a5b67506475a8e78ad6ef (diff)
Merge branch 'glitch' into main
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/activitypub/activity/reject.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/reject.rb b/app/lib/activitypub/activity/reject.rb
index 8d771ed81..886dddb23 100644
--- a/app/lib/activitypub/activity/reject.rb
+++ b/app/lib/activitypub/activity/reject.rb
@@ -4,7 +4,7 @@ class ActivityPub::Activity::Reject < ActivityPub::Activity
   def perform
     return reject_follow_for_relay if relay_follow?
     return follow_request_from_object.reject! unless follow_request_from_object.nil?
-    return UnfollowService.new.call(follow_from_object.target_account, @account) unless follow_from_object.nil?
+    return UnfollowService.new.call(follow_from_object.account, @account) unless follow_from_object.nil?
 
     case @object['type']
     when 'Follow'