mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
woops, wrong property name
This commit is contained in:
@@ -53,7 +53,7 @@ SocketPosts.reply = function(socket, data, callback) {
|
||||
}
|
||||
|
||||
plugins.fireHook('filter:sockets.sendNewPostToUids', {uidsTo: uids, uidFrom: data.uid, type: "newPost"}, function(err, data) {
|
||||
uids = data.uids;
|
||||
uids = data.uidsTo;
|
||||
|
||||
for(var i=0; i<uids.length; ++i) {
|
||||
if (parseInt(uids[i], 10) !== socket.uid) {
|
||||
|
||||
Reference in New Issue
Block a user