mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fixing #1587 properly for unread count
This commit is contained in:
@@ -57,6 +57,10 @@ SocketTopics.postcount = function(socket, tid, callback) {
|
||||
topics.getTopicField(tid, 'postcount', callback);
|
||||
};
|
||||
|
||||
SocketTopics.increaseViewCount = function(socket, tid) {
|
||||
topics.increaseViewCount(tid);
|
||||
}
|
||||
|
||||
SocketTopics.markAsRead = function(socket, data) {
|
||||
if(!data || !data.tid || !data.uid) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user