mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11: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;
|
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) {
|
if(err) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user