about summary refs log tree commit diff
path: root/app/lib/activitypub/activity.rb
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2020-07-17 14:00:08 -0500
committerStarfall <us@starfall.systems>2020-07-17 14:00:08 -0500
commitc5b7bf491e9aaf0a92f7899d60d12705d98436dc (patch)
tree7506b93ec2c20bf068f2b57c31d0a05e0485aed5 /app/lib/activitypub/activity.rb
parent2f20bc2a8275875033c97249825a2a3305980c3b (diff)
parent801e546ecc1efb4103232d8265229eb455a8dd5b (diff)
glitch 3.2.0 update / Merge branch 'glitch' into main
Diffstat (limited to 'app/lib/activitypub/activity.rb')
-rw-r--r--app/lib/activitypub/activity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity.rb b/app/lib/activitypub/activity.rb
index 58cec7ac4..0ce279d28 100644
--- a/app/lib/activitypub/activity.rb
+++ b/app/lib/activitypub/activity.rb
@@ -185,7 +185,7 @@ class ActivityPub::Activity
   end
 
   def followed_by_local_accounts?
-    @account.passive_relationships.exists?
+    @account.passive_relationships.exists? || @options[:relayed_through_account]&.passive_relationships&.exists?
   end
 
   def requested_through_relay?