mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
userslug for new chat messages
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user