Merge branch 'main' into glitch-soc/merge-upstream
This commit is contained in:
@@ -138,6 +138,7 @@ class Account < ApplicationRecord
|
||||
:role,
|
||||
:locale,
|
||||
:shows_application?,
|
||||
:prefers_noindex?,
|
||||
to: :user,
|
||||
prefix: true,
|
||||
allow_nil: true
|
||||
@@ -194,10 +195,6 @@ class Account < ApplicationRecord
|
||||
"acct:#{local_username_and_domain}"
|
||||
end
|
||||
|
||||
def searchable?
|
||||
!(suspended? || moved?) && (!local? || (approved? && confirmed?))
|
||||
end
|
||||
|
||||
def possibly_stale?
|
||||
last_webfingered_at.nil? || last_webfingered_at <= 1.day.ago
|
||||
end
|
||||
|
Reference in New Issue
Block a user