Remove: #358 「自分のコンテンツのAI学習利用に対して不快感を表明する」設定 (#393)

This commit is contained in:
KMY(雪あすか) 2023-12-27 09:28:18 +09:00 committed by GitHub
parent 77d8bbe438
commit efa4f4ca10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 2 additions and 23 deletions

View file

@ -8,13 +8,6 @@ module Account::OtherSettings
user_prefers_noindex? || (settings.present? && settings['noindex']) || false
end
def noai?
return user.setting_noai if local? && user.present?
return settings['noai'] if settings.present? && settings.key?('noai')
false
end
def translatable_private?
return user.setting_translatable_private if local? && user.present?
return settings['translatable_private'] if settings.present? && settings.key?('translatable_private')
@ -97,7 +90,6 @@ module Account::OtherSettings
# Please update `app/javascript/mastodon/api_types/accounts.ts` when making changes to the attributes
{
'noindex' => noindex?,
'noai' => noai?,
'hide_network' => hide_collections,
'hide_statuses_count' => hide_statuses_count?,
'hide_following_count' => hide_following_count?,