|
|
|
@ -157,6 +157,8 @@ helpers.getBaseUser = function(userslug, callerUID, callback) {
|
|
|
|
|
results.user.showHidden = results.user.isSelf || results.isAdmin || results.isGlobalModerator;
|
|
|
|
|
results.user.profile_links = filterLinks(results.profile_links, results.user.isSelf);
|
|
|
|
|
|
|
|
|
|
results.user['reputation:disabled'] = parseInt(meta.config['reputation:disabled'], 10) === 1;
|
|
|
|
|
resutls.user['downvote:disabled'] = parseInt(meta.config['downvote:disabled'], 10) === 1;
|
|
|
|
|
results.user['cover:url'] = results.user['cover:url'] || require('../../coverPhoto').getDefaultProfileCover(results.user.uid);
|
|
|
|
|
results.user['cover:position'] = results.user['cover:position'] || '50% 50%';
|
|
|
|
|
|
|
|
|
|