about summary refs log tree commit diff
path: root/app/services/activitypub
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-10-12 22:05:06 -0500
committermultiple creatures <dev@multiple-creature.party>2019-10-12 22:05:06 -0500
commita367ff86982987aa0573d9b375000a909223c3ad (patch)
tree0d9a8560aba33efdf2dbc98398a3df72ecd56781 /app/services/activitypub
parentbc04de8eed0cf0451018f3182af0a24754444f86 (diff)
graylist (reject unknown) federation & known account auto-learning finally have toggle switches in site settings
Diffstat (limited to 'app/services/activitypub')
-rw-r--r--app/services/activitypub/process_account_service.rb2
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 c1c643ff0..a1d508405 100644
--- a/app/services/activitypub/process_account_service.rb
+++ b/app/services/activitypub/process_account_service.rb
@@ -23,7 +23,7 @@ class ActivityPub::ProcessAccountService < BaseService
 
         is_new_account = @account.nil?
         if is_new_account
-          set_reject_unknown_policy
+          set_reject_unknown_policy if Setting.auto_reject_unknown
           create_account
         end
         update_account