mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
checks
This commit is contained in:
@@ -206,6 +206,9 @@ module.exports = function(Topics) {
|
||||
};
|
||||
|
||||
Topics.markTopicNotificationsRead = function(tid, uid) {
|
||||
if (!tid) {
|
||||
return;
|
||||
}
|
||||
user.notifications.getUnreadByField(uid, 'tid', tid, function(err, nids) {
|
||||
if (err) {
|
||||
return winston.error(err.stack);
|
||||
|
||||
Reference in New Issue
Block a user