Fix: follow request
This commit is contained in:
parent
c9cca85db3
commit
3a06820f1e
|
@ -885,7 +885,7 @@ function userparse(obj, auth, acct_id, tlid, popup) {
|
|||
} else {
|
||||
var locked = "";
|
||||
}
|
||||
if (auth) {
|
||||
if (auth=="request") {
|
||||
var authhtml = '<i class="material-icons gray pointer" onclick="request(\'' +
|
||||
toot.id + '\',\'authorize\',' + acct_id + ')" title="Accept">person_add</i> <i class="material-icons gray pointer" onclick="request(\'' +
|
||||
toot.id + '\',\'reject\',' + acct_id + ')" title="Reject">person_add_disabled</i>';
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user