mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Display the list of emojies of the user
This commit is contained in:
@ -186,14 +186,14 @@ function getUserInfo(usersID, afterGetUserInfo, forceRequest){
|
||||
*
|
||||
* @param {Number} userID Target user ID
|
||||
*/
|
||||
function userInfo(userID) {
|
||||
function userInfo(userID, force = false) {
|
||||
return new Promise((res, err) => {
|
||||
getUserInfo(userID, (data) => {
|
||||
if(data.error)
|
||||
err(data.error)
|
||||
else
|
||||
res(data)
|
||||
}, false);
|
||||
}, force);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user