mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
closes #1381
This commit is contained in:
@@ -174,7 +174,7 @@ SocketModules.chats.send = function(socket, data, callback) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
sendChatNotification(socket.uid, touid, message.user.username);
|
||||
sendChatNotification(socket.uid, touid, message.fromUser.username);
|
||||
|
||||
server.getUserSockets(touid).forEach(function(s) {
|
||||
s.emit('event:chats.receive', {
|
||||
|
||||
Reference in New Issue
Block a user