mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
markRead fixes
This commit is contained in:
@@ -129,9 +129,7 @@ var async = require('async'),
|
||||
|
||||
notification.path = pidToPaths[notification.pid] || notification.path || '';
|
||||
|
||||
if (notification.nid.startsWith('chat')) {
|
||||
notification.path = '/chats/' + notification.user.userslug;
|
||||
} else if (notification.nid.startsWith('follow')) {
|
||||
if (notification.nid.startsWith('follow')) {
|
||||
notification.path = '/user/' + notification.user.userslug;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user