Fix: follow request
This commit is contained in:
		@@ -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);
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user