mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
added a path to follow notification
This commit is contained in:
@@ -293,7 +293,8 @@ 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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user