From 3a06820f1efd7019ac33a8f32fbc913fb20e56be Mon Sep 17 00:00:00 2001 From: Cutls Date: Thu, 16 May 2019 00:01:54 +0900 Subject: [PATCH] Fix: follow request --- app/js/tl/parse.js | 2 +- app/js/userdata/his-data.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js index 5e6f10af..51d974fa 100644 --- a/app/js/tl/parse.js +++ b/app/js/tl/parse.js @@ -885,7 +885,7 @@ function userparse(obj, auth, acct_id, tlid, popup) { } else { var locked = ""; } - if (auth) { + if (auth=="request") { var authhtml = 'person_add person_add_disabled'; diff --git a/app/js/userdata/his-data.js b/app/js/userdata/his-data.js index 3d936075..e846d314 100644 --- a/app/js/userdata/his-data.js +++ b/app/js/userdata/his-data.js @@ -440,7 +440,7 @@ function showReq(more, acct_id) { }).then(function(json) { if(localStorage.getItem("mode_" + domain)!="misskey"){ - var templete = userparse(json, true,acct_id); + var templete = userparse(json, "request",acct_id); }else{ var templete = misskeyUserparse(json, true,acct_id); }