mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
closes #5527
This commit is contained in:
@@ -171,6 +171,7 @@ SocketUser.follow = function (socket, data, callback) {
|
||||
function (_userData, next) {
|
||||
userData = _userData;
|
||||
notifications.create({
|
||||
type: 'follow',
|
||||
bodyShort: '[[notifications:user_started_following_you, ' + userData.username + ']]',
|
||||
nid: 'follow:' + data.uid + ':uid:' + socket.uid,
|
||||
from: socket.uid,
|
||||
|
||||
Reference in New Issue
Block a user