mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
look for unread only for today
This commit is contained in:
@@ -87,7 +87,7 @@ module.exports = function(Topics) {
|
||||
async.whilst(function() {
|
||||
return unreadTids.length < count && !done;
|
||||
}, function(next) {
|
||||
Topics.getLatestTids(start, stop, 'month', function(err, tids) {
|
||||
Topics.getLatestTids(start, stop, 'day', function(err, tids) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user