mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
add /user/<uid> and /post/<pid> redirects
change notifications to use new redirects
This commit is contained in:
@@ -155,7 +155,7 @@ SocketUser.follow = function(socket, data, callback) {
|
||||
bodyShort: '[[notifications:user_started_following_you, ' + userData.username + ']]',
|
||||
nid: 'follow:' + data.uid + ':uid:' + socket.uid,
|
||||
from: socket.uid,
|
||||
path: '/user/' + userData.userslug,
|
||||
path: '/user/' + socket.uid,
|
||||
mergeId: 'notifications:user_started_following_you'
|
||||
}, next);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user