Fix visibility on Misskey #83

This commit is contained in:
Cutls 2019-06-03 23:38:58 +09:00
parent 612400944e
commit 6b004a3992

View File

@ -218,9 +218,9 @@ function misskeyPost() {
} }
var vis = $("#vis").text(); var vis = $("#vis").text();
if (vis == "unlisted") { if (vis == "unlisted") {
vis == "home" vis = "home"
} else if (vis == "direct") { } else if (vis == "direct") {
vis == "specified"; vis = "specified";
toot.visibleUserIds = str.match(/@([a-zA-Z0-9_@.-]+)(\s|$)/g).join('').split("@"); toot.visibleUserIds = str.match(/@([a-zA-Z0-9_@.-]+)(\s|$)/g).join('').split("@");
} }
if (vis != "inherit") { if (vis != "inherit") {