diff --git a/src/socket.io/user.js b/src/socket.io/user.js index 7170cf27d0..4f4064ec91 100644 --- a/src/socket.io/user.js +++ b/src/socket.io/user.js @@ -293,7 +293,8 @@ SocketUser.follow = function(socket, data, callback) { notifications.create({ bodyShort: '[[notifications:user_started_following_you, ' + userData.username + ']]', nid: 'follow:' + data.uid + ':uid:' + socket.uid, - from: socket.uid + from: socket.uid, + user: userData }, next); }, function(notification, next) {