Node.js based forum software built for the modern web
making sure to pass in userData to notifications.create on user follow
Julian Lameee2aa80512c
diff --git a/src/socket.io/user.js b/src/socket.io/user.jsindex 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) {