|
|
@ -293,8 +293,7 @@ SocketUser.follow = function(socket, data, callback) {
|
|
|
|
notifications.create({
|
|
|
|
notifications.create({
|
|
|
|
bodyShort: '[[notifications:user_started_following_you, ' + userData.username + ']]',
|
|
|
|
bodyShort: '[[notifications:user_started_following_you, ' + userData.username + ']]',
|
|
|
|
nid: 'follow:' + data.uid + ':uid:' + socket.uid,
|
|
|
|
nid: 'follow:' + data.uid + ':uid:' + socket.uid,
|
|
|
|
from: socket.uid,
|
|
|
|
from: socket.uid
|
|
|
|
path: 'user/' + userData.userslug
|
|
|
|
|
|
|
|
}, next);
|
|
|
|
}, next);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
function(notification, next) {
|
|
|
|
function(notification, next) {
|
|
|
|