mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 16:28:59 +00:00
Merge branch 'main' into glitch-soc/merge-upstream
This commit is contained in:
@@ -281,6 +281,10 @@ class User < ApplicationRecord
|
||||
save!
|
||||
end
|
||||
|
||||
def prefers_noindex?
|
||||
setting_noindex
|
||||
end
|
||||
|
||||
def preferred_posting_language
|
||||
valid_locale_cascade(settings.default_language, locale, I18n.locale)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user