Migrate glitch-soc's exclusive user settings

This commit is contained in:
Claire
2023-03-31 21:37:57 +02:00
parent 01d6f7529f
commit 3dcba94e68
6 changed files with 103 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ module AccountsHelper
end
def hide_followers_count?(account)
Setting.hide_followers_count || account.user&.setting_hide_followers_count
Setting.hide_followers_count || account.user&.settings['hide_followers_count']
end
def account_description(account)