about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/models/account.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index caa5dffac..6411b98bb 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -264,8 +264,9 @@ class Account < ApplicationRecord
     update!(known: true, last_webfingered_at: nil)
     refresh!
 
-    unless local? || !Setting.auto_mark_instance_actors_known || domain == username
+    unless local? || !Setting.auto_mark_instance_actors_known || username.in?([domain, 'internal.fetch'])
       _instance_actor = Account.find_remote(domain, domain)
+      _instance_actor = Account.find_remote('internal.fetch', domain) if _instance_actor.nil?
       return if _instance_actor.nil? || _instance_actor.known?
 
       _instance_actor.mark_known!