mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fixes vote buttons on infinite scroll and new posts
This commit is contained in:
@@ -38,7 +38,8 @@ SocketPosts.reply = function(socket, data, callback) {
|
||||
|
||||
websockets.server.sockets.emit('event:new_post', {
|
||||
posts: [postData],
|
||||
privileges: privileges
|
||||
privileges: privileges,
|
||||
'reputation:disabled': parseInt(meta.config['reputation:disabled'], 10) === 1
|
||||
});
|
||||
|
||||
module.parent.exports.emitTopicPostStats();
|
||||
|
||||
Reference in New Issue
Block a user