mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #8059, properly mark topic unread when using mark unread for all
This commit is contained in:
@@ -67,6 +67,7 @@ module.exports = function (SocketTopics) {
|
||||
await topics.markAsUnreadForAll(tid);
|
||||
await topics.updateRecent(tid, now);
|
||||
await db.sortedSetAdd('cid:' + topicData.cid + ':tids:lastposttime', now, tid);
|
||||
await topics.setTopicField(tid, 'lastposttime', now);
|
||||
}));
|
||||
topics.pushUnreadCount(socket.uid);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user