diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-27 16:08:56 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-27 16:08:56 -0600 |
commit | 95ce6729830f92d15c619ea2f4d1e125ffe7209f (patch) | |
tree | fd8ba4d7db1769cd1052f2714938bb8a17502b9b /app/services | |
parent | e0baa1e2aacaccf222deace2aa67d63496137536 (diff) |
detect pleroma server actors when auto-learning trusted accounts in graylist mode
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/activitypub/process_account_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/activitypub/process_account_service.rb b/app/services/activitypub/process_account_service.rb index 9f529ed52..88b33eb12 100644 --- a/app/services/activitypub/process_account_service.rb +++ b/app/services/activitypub/process_account_service.rb @@ -234,7 +234,7 @@ class ActivityPub::ProcessAccountService < BaseService def auto_mark_known? return false if @account.manual_only - @username == @domain ? Setting.always_mark_instance_actors_known : (!Setting.auto_reject_unknown && Setting.auto_mark_known) + @username.in?([@domain, 'internal.fetch']) ? Setting.always_mark_instance_actors_known : (!Setting.auto_reject_unknown && Setting.auto_mark_known) end def domain_block |