mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
user has read feature - turns post count badge red if there is a new post and grey if the user has seen this post already
This commit is contained in:
@@ -131,7 +131,7 @@ var express = require('express'),
|
||||
case 'category' :
|
||||
global.modules.topics.get(function(data) {
|
||||
res.send(JSON.stringify(data));
|
||||
}, req.params.id);
|
||||
}, req.params.id, (req.user) ? req.user.uid : 0);
|
||||
break;
|
||||
case 'latest' :
|
||||
global.modules.topics.get(function(data) {
|
||||
|
||||
Reference in New Issue
Block a user