|
|
|
@ -121,7 +121,7 @@ function getUserDataByUserSlug(userslug, callerUID, callback) {
|
|
|
|
|
userData.disableSignatures = meta.config.disableSignatures !== undefined && parseInt(meta.config.disableSignatures, 10) === 1;
|
|
|
|
|
userData['email:confirmed'] = !!parseInt(userData['email:confirmed'], 10);
|
|
|
|
|
userData.profile_links = results.profile_links;
|
|
|
|
|
userData.status = !websockets.isUserOnline(userData.uid) ? 'offline' : userData.status;
|
|
|
|
|
userData.status = websockets.isUserOnline(userData.uid) ? (userData.status || 'online') : 'offline';
|
|
|
|
|
userData.banned = parseInt(userData.banned, 10) === 1;
|
|
|
|
|
userData.websiteName = userData.website.replace('http://', '').replace('https://', '');
|
|
|
|
|
|
|
|
|
|