mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fix: #9681, update posts in queue if target tid is merged
This commit is contained in:
@@ -48,8 +48,9 @@ async function postReply(socket, data) {
|
||||
'downvote:disabled': meta.config['downvote:disabled'] === 1,
|
||||
};
|
||||
|
||||
socket.emit('event:new_post', result);
|
||||
|
||||
if (socket.emit) {
|
||||
socket.emit('event:new_post', result);
|
||||
}
|
||||
user.updateOnlineUsers(socket.uid);
|
||||
|
||||
socketHelpers.notifyNew(socket.uid, 'newPost', result);
|
||||
|
||||
Reference in New Issue
Block a user