diff --git a/packages/backend/src/server/api/endpoints/i/update.ts b/packages/backend/src/server/api/endpoints/i/update.ts index aa4dd0511..78c32c535 100644 --- a/packages/backend/src/server/api/endpoints/i/update.ts +++ b/packages/backend/src/server/api/endpoints/i/update.ts @@ -284,7 +284,6 @@ export default class extends Endpoint { // eslint- if (typeof ps.carefulBot === 'boolean') profileUpdates.carefulBot = ps.carefulBot; if (typeof ps.autoAcceptFollowed === 'boolean') profileUpdates.autoAcceptFollowed = ps.autoAcceptFollowed; if (typeof ps.noCrawle === 'boolean') profileUpdates.noCrawle = ps.noCrawle; - if (typeof ps.preventAiLearning === 'boolean') profileUpdates.preventAiLearning = ps.preventAiLearning; if (typeof ps.isCat === 'boolean') updates.isCat = ps.isCat; if (typeof ps.speakAsCat === 'boolean') updates.speakAsCat = ps.speakAsCat; if (typeof ps.injectFeaturedNote === 'boolean') profileUpdates.injectFeaturedNote = ps.injectFeaturedNote; diff --git a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue index 07ea6d584..7401dbddb 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue @@ -31,14 +31,6 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.noCrawle }} - - - - - - {{ i18n.ts.preventAiLearning }} - - {{ i18n.ts._initialAccountSetting.youCanEditMoreSettingsInSettingsPageLater }} @@ -56,14 +48,12 @@ import { $i } from '@/account.js'; let isLocked = ref(false); let hideOnlineStatus = ref(false); let noCrawle = ref(false); -let preventAiLearning = ref(true); -watch([isLocked, hideOnlineStatus, noCrawle, preventAiLearning], () => { +watch([isLocked, hideOnlineStatus, noCrawle], () => { os.api('i/update', { isLocked: !!isLocked.value, hideOnlineStatus: !!hideOnlineStatus.value, noCrawle: !!noCrawle.value, - preventAiLearning: !!preventAiLearning.value, }); }); diff --git a/packages/frontend/src/pages/settings/privacy.vue b/packages/frontend/src/pages/settings/privacy.vue index e7414acd2..026d965aa 100644 --- a/packages/frontend/src/pages/settings/privacy.vue +++ b/packages/frontend/src/pages/settings/privacy.vue @@ -29,10 +29,6 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.noCrawle }} - - {{ i18n.ts.preventAiLearning }}{{ i18n.ts.beta }} - - {{ i18n.ts.makeIndexable }} @@ -84,7 +80,6 @@ import { definePageMetadata } from '@/scripts/page-metadata.js'; let isLocked = $ref($i.isLocked); let autoAcceptFollowed = $ref($i.autoAcceptFollowed); let noCrawle = $ref($i.noCrawle); -let preventAiLearning = $ref($i.preventAiLearning); let isExplorable = $ref($i.isExplorable); let isIndexable = $ref($i.isIndexable); let hideOnlineStatus = $ref($i.hideOnlineStatus); @@ -101,7 +96,6 @@ function save() { isLocked: !!isLocked, autoAcceptFollowed: !!autoAcceptFollowed, noCrawle: !!noCrawle, - preventAiLearning: !!preventAiLearning, isExplorable: !!isExplorable, isIndexable: !!isIndexable, hideOnlineStatus: !!hideOnlineStatus,