mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
fixes #5144
This commit is contained in:
@@ -169,7 +169,7 @@ SocketUser.follow = function (socket, data, callback) {
|
|||||||
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: '/uid/' + socket.uid,
|
path: '/uid/' + data.uid + '/followers',
|
||||||
mergeId: 'notifications:user_started_following_you'
|
mergeId: 'notifications:user_started_following_you'
|
||||||
}, next);
|
}, next);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user