removed path

v1.18.x
Barış Soner Uşaklı 10 years ago
parent cc92d09498
commit 8b429a2e05

@ -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) {

Loading…
Cancel
Save