mirror of
				https://github.com/pierre42100/ComunicAPI
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	User last activity upadted when the friends list is fetched
This commit is contained in:
		@@ -22,6 +22,9 @@ class friendsController{
 | 
			
		||||
		if($friendsList === false)
 | 
			
		||||
			Rest_fatal_error(500, "Couldn't get friends list !");
 | 
			
		||||
		
 | 
			
		||||
		//Update the last activity of the user
 | 
			
		||||
		CS::get()->components->user->updateLastActivity(userID);
 | 
			
		||||
		
 | 
			
		||||
		//Return list
 | 
			
		||||
		return $friendsList;
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user