WIP user-icons

This commit is contained in:
Julian Lam
2015-09-27 12:57:21 -04:00
parent 839edc80b1
commit f6d5b52a8b
21 changed files with 112 additions and 46 deletions

View File

@@ -281,7 +281,7 @@ Sockets.getUsersInRoom = function (uid, roomName, start, stop, callback) {
if (!uids.length) {
return callback(null, {users: [], total: 0 , room: roomName});
}
user.getUsersFields(uids, ['uid', 'username', 'userslug', 'picture', 'status'], function(err, users) {
user.getUsersFields(uids, ['uid', 'username', 'userslug', 'picture', 'status', 'icon:bgColor', 'icon:text'], function(err, users) {
if (err) {
return callback(err);
}