mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
some cleanup, dont send ip on newpost
This commit is contained in:
@@ -51,7 +51,7 @@ SocketPosts.reply = function(socket, data, callback) {
|
||||
|
||||
user.updateOnlineUsers(socket.uid);
|
||||
|
||||
socketHelpers.notifyOnlineUsers(socket.uid, result);
|
||||
socketHelpers.notifyNew(socket.uid, 'newPost', result);
|
||||
|
||||
if (data.lock) {
|
||||
socketTopics.doTopicAction('lock', 'event:topic_locked', socket, {tids: [postData.topic.tid], cid: postData.topic.cid});
|
||||
|
||||
Reference in New Issue
Block a user