userslug for new chat messages

v1.18.x
Baris Soner Usakli 11 years ago
parent 7531d9dd2c
commit e06a7a343a

@ -92,7 +92,7 @@ SocketModules.chats.send = function(socket, data) {
var msg = S(data.message).stripTags().s;
user.getMultipleUserFields([socket.uid, touid], ['username', 'picture'], function(err, usersData) {
user.getMultipleUserFields([socket.uid, touid], ['username', 'userslug', 'picture'], function(err, usersData) {
if(err) {
return;
}

Loading…
Cancel
Save