mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
footer shows total topic post count
This commit is contained in:
@@ -160,6 +160,10 @@ var SocketIO = require('socket.io').listen(global.server, { log:false }),
|
||||
user.count(socket, data);
|
||||
});
|
||||
|
||||
socket.on('post.stats', function(data) {
|
||||
posts.getTopicPostStats(socket);
|
||||
});
|
||||
|
||||
socket.on('user.latest', function(data) {
|
||||
user.latest(socket, data);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user