mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
refactor: change the path of follow notif to go to the user
This commit is contained in:
@@ -188,7 +188,7 @@ usersAPI.follow = async function (caller, data) {
|
||||
bodyShort: `[[notifications:user-started-following-you, ${displayname}]]`,
|
||||
nid: `follow:${data.uid}:uid:${caller.uid}`,
|
||||
from: caller.uid,
|
||||
path: `/uid/${data.uid}/followers`,
|
||||
path: `/uid/${caller.uid}`,
|
||||
mergeId: 'notifications:user-started-following-you',
|
||||
});
|
||||
if (!notifObj) {
|
||||
|
||||
Reference in New Issue
Block a user