Fix can't process cancel of follow request from remote
This commit is contained in:
		
							parent
							
								
									a796a68e8a
								
							
						
					
					
						commit
						8ed9e44a78
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -31,7 +31,7 @@ export default async (actor: IRemoteUser, activity: IFollow): Promise<void> => {
 | 
				
			||||||
	});
 | 
						});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (req) {
 | 
						if (req) {
 | 
				
			||||||
		await cancelRequest(actor, followee);
 | 
							await cancelRequest(followee, actor);
 | 
				
			||||||
	} else {
 | 
						} else {
 | 
				
			||||||
		await unfollow(actor, followee);
 | 
							await unfollow(actor, followee);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue