mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Show conversations name
This commit is contained in:
		@@ -29,4 +29,26 @@ function lang(stringName, stringParams){
 | 
			
		||||
 */
 | 
			
		||||
function openPage(pageURI, additionnalData){
 | 
			
		||||
	return ComunicWeb.common.page.openPage(pageURI, additionnalData);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Returns user ID (if logged in)
 | 
			
		||||
 * 
 | 
			
		||||
 * @param Nothing
 | 
			
		||||
 * @return {Integer} The ID of the user
 | 
			
		||||
 */
 | 
			
		||||
function userID(){
 | 
			
		||||
    return ComunicWeb.user.userLogin.getUserID();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Get multiple users informations
 | 
			
		||||
 * 
 | 
			
		||||
 * @param {Array~Object} usersID User on which to make request (current to get connected user)
 | 
			
		||||
 * @param {function} afterGetUserInfos What to do once users informations are available
 | 
			
		||||
 * @param {Boolean} forceRequest Force the request to be made
 | 
			
		||||
 * @return {Boolean} True for a success
 | 
			
		||||
 */
 | 
			
		||||
function getUsersInfos(usersID, afterGetUserInfos, forceRequest){
 | 
			
		||||
	ComunicWeb.user.userInfos.getMultipleUsersInfos(usersID, afterGetUserInfos, forceRequest);
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user