Skip to content

Node.js based forum software built for the modern web

change follow notif path

Barış Soner Uşaklı1fe8ac191dcc
diff --git a/src/user/follow.js b/src/user/follow.js
index b2a236b9f7..b2b0bd3d88 100644
--- a/src/user/follow.js
+++ b/src/user/follow.js
@@ -113,7 +113,7 @@ module.exports = function (User) {
bodyShort: `[[notifications:user-started-following-you, ${displayname}]]`,
nid: `follow:${targetUid}:uid:${uid}`,
from: uid,
- path: `/uid/${targetUid}/followers`,
+ path: `/user/${userData.userslug}`,
mergeId: 'notifications:user-started-following-you',
});
if (!notifObj) {