This commit is contained in:
tamaina 2021-02-13 02:21:35 +09:00
parent 2425a8f03f
commit 4002471360

View file

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