Skip to content

Node.js based forum software built for the modern web

removed path

Barış Soner Uşaklı8b429a2e0578
diff --git a/src/socket.io/user.js b/src/socket.io/user.js
index 0771d44066..7170cf27d0 100644
--- a/src/socket.io/user.js
+++ b/src/socket.io/user.js
@@ -293,8 +293,7 @@ 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,
- path: 'user/' + userData.userslug
+ from: socket.uid
}, next);
},
function(notification, next) {