about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/activitypub/activity/create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb
index 59a962fe7..a2353bc3d 100644
--- a/app/lib/activitypub/activity/create.rb
+++ b/app/lib/activitypub/activity/create.rb
@@ -139,7 +139,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
       account = account_from_uri(audience)
 
       if account.nil?
-        if @options[:requested]
+        if !rejecting_unknown? || @options[:requested]
           @potential_scope_leak = true unless Account.where(followers_url: audience, suspended_at: nil).exists?
         else
           @potential_scope_leak = true unless Account.where(followers_url: audience, known: true, suspended_at: nil).exists?