mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-10-31 01:24:43 +00:00 
			
		
		
		
	Fix bad output
This commit is contained in:
		| @@ -218,7 +218,7 @@ export class FriendsController { | ||||
| 	public static FriendToAPI(friend: Friend, full: boolean = false) : any { | ||||
| 		let info: any = { | ||||
| 			ID_friend: friend.friendID, | ||||
| 			accepted: friend.accepted, | ||||
| 			accepted: friend.accepted ? 1 : 0, | ||||
| 			time_last_activity:  | ||||
| 				UserWebSocketController.IsConnected(friend.friendID) ? time() : friend.lastActivityTime | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user