This commit is contained in:
tamaina 2021-02-13 02:21:35 +09:00
parent 2425a8f03f
commit 4002471360
1 changed files with 3 additions and 3 deletions

View File

@ -78,9 +78,9 @@ export default defineComponent({
this.visibility = visibility;
} else {
// Mastodon
if (this.visibility === 'unlisted') this.visibility = 'home';
else if (this.visibility === 'private') this.visibility = 'followers';
else if (this.visibility === 'direct') this.visibility = 'specified';
if (visibility === 'unlisted') this.visibility = 'home';
else if (visibility === 'private') this.visibility = 'followers';
else if (visibility === 'direct') this.visibility = 'specified';
else this.visibility = null;
}