From cac39ad539abc84f4fee7d7f6de83bc294472f2d Mon Sep 17 00:00:00 2001 From: Cutls Date: Sun, 25 Aug 2019 22:22:44 +0900 Subject: [PATCH] Fix: cannot follow at Pawoo --- app/js/post/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/post/status.js b/app/js/post/status.js index c7eeb9d9..1b566ae2 100644 --- a/app/js/post/status.js +++ b/app/js/post/status.js @@ -117,11 +117,11 @@ function follow(acct_id, remote) { var domain = localStorage.getItem("domain_" + acct_id); var at = localStorage.getItem("acct_" + acct_id + "_at"); var user = $("#his-acct").text(); + var start = "https://" + domain + "/api/v1/accounts/" + id + "/" + flag; if (localStorage.getItem("mode_" + domain) == "misskey") { var start = "https://" + domain + "/api/following/" + flagm; var ent = { "i": at, "userId": id } } else if (remote == "true" && flag == "follow") { - var start = "https://" + domain + "/api/v1/accounts/" + id + "/" + flag; var ent = {} } var httpreq = new XMLHttpRequest();