mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +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) {
|
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) {
|
if (!tids.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user