mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 17:56:16 +01:00
fixed post count in paginator and post bar when infinite loader kicked in
This commit is contained in:
@@ -403,6 +403,10 @@ module.exports.init = function(io) {
|
||||
|
||||
});
|
||||
|
||||
socket.on('api:topics.postcount', function(tid, callback) {
|
||||
topics.getTopicField(tid, 'postcount', callback);
|
||||
});
|
||||
|
||||
socket.on('api:topics.markAllRead', function(data, callback) {
|
||||
topics.markAllRead(uid, function(err, success) {
|
||||
if (!err && success) {
|
||||
|
||||
Reference in New Issue
Block a user