mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
dont mark read if topic is not in topics:recent
This commit is contained in:
@@ -174,7 +174,7 @@ module.exports = function(Topics) {
|
||||
}
|
||||
|
||||
tids = tids.filter(function(tid, index) {
|
||||
return !results.userScores[index] || results.userScores[index] < results.topicScores[index];
|
||||
return results.topicScores[index] && (!results.userScores[index] || results.userScores[index] < results.topicScores[index]);
|
||||
});
|
||||
|
||||
if (!tids.length) {
|
||||
|
||||
Reference in New Issue
Block a user