mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Start to show call members
This commit is contained in:
@ -197,6 +197,16 @@ function userInfo(userID, force = false) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get information about a user (new User class)
|
||||
*
|
||||
* @param {Number} userID target user id
|
||||
* @returns {Promise<User>} Information about the user
|
||||
*/
|
||||
async function user(userID) {
|
||||
return new User(await userInfo(userID))
|
||||
}
|
||||
|
||||
/**
|
||||
* Display message on browser console
|
||||
*
|
||||
|
Reference in New Issue
Block a user