* ✌️

* ✌️

* Update privacy.vue
This commit is contained in:
syuilo
2020-12-11 21:16:20 +09:00
committed by GitHub
parent 488e6feed9
commit 69c3c4e3dc
13 changed files with 52 additions and 4 deletions

View File

@@ -92,6 +92,10 @@ export const meta = {
}
},
isExplorable: {
validator: $.optional.bool,
},
carefulBot: {
validator: $.optional.bool,
desc: {
@@ -208,6 +212,7 @@ export default define(meta, async (ps, user, token) => {
}
if (ps.mutingNotificationTypes !== undefined) profileUpdates.mutingNotificationTypes = ps.mutingNotificationTypes as typeof notificationTypes[number][];
if (typeof ps.isLocked === 'boolean') updates.isLocked = ps.isLocked;
if (typeof ps.isExplorable === 'boolean') updates.isExplorable = ps.isExplorable;
if (typeof ps.isBot === 'boolean') updates.isBot = ps.isBot;
if (typeof ps.carefulBot === 'boolean') profileUpdates.carefulBot = ps.carefulBot;
if (typeof ps.autoAcceptFollowed === 'boolean') profileUpdates.autoAcceptFollowed = ps.autoAcceptFollowed;