markRead fixes

This commit is contained in:
barisusakli
2015-12-16 15:43:01 +02:00
parent 1bd9b364e4
commit 832a20e59e
5 changed files with 20 additions and 20 deletions

View File

@@ -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;
}