Toggle avatar cloning

This commit is contained in:
Natsumi
2022-01-15 15:44:20 +13:00
parent 70b34f6772
commit 3f5f231cd5
2 changed files with 20 additions and 5 deletions

View File

@@ -18468,6 +18468,14 @@ speechSynthesis.getVoices();
}
};
$app.methods.toggleAvatarCopying = function () {
API.saveCurrentUser({
allowAvatarCopying: !API.currentUser.allowAvatarCopying
}).then((args) => {
return args;
});
};
$app = new Vue($app);
window.$app = $app;
})();