Merge branch 'main' into glitch-soc/merge-upstream
This commit is contained in:
@ -16,6 +16,10 @@ class InstancePresenter
|
||||
Account.find_local(Setting.site_contact_username.strip.gsub(/\A@/, ''))
|
||||
end
|
||||
|
||||
def rules
|
||||
Rule.ordered
|
||||
end
|
||||
|
||||
def user_count
|
||||
Rails.cache.fetch('user_count') { User.confirmed.joins(:account).merge(Account.without_suspended).count }
|
||||
end
|
||||
|
Reference in New Issue
Block a user