mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +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({
|
||||
bodyShort: '[[notifications:user_started_following_you, ' + userData.username + ']]',
|
||||
nid: 'follow:' + data.uid + ':uid:' + socket.uid,
|
||||
from: socket.uid
|
||||
from: socket.uid,
|
||||
path: 'user/' + userData.userslug
|
||||
}, next);
|
||||
},
|
||||
function(notification, next) {
|
||||
|
||||
Reference in New Issue
Block a user