about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/models/account.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index 90da8bd21..be46a743f 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -251,6 +251,13 @@ class Account < ApplicationRecord
 
   def mark_known!
     update!(known: true)
+
+    unless local? || !Setting.auto_mark_known || domain == username
+      _instance_actor = Account.find_remote(domain, domain)
+      return if _instance_actor.nil? || _instance_actor.known?
+
+      _instance_actor.mark_known!
+    end
   end
 
   def force_unlisted!