thanks @barisusakli

v1.18.x
psychobunny 11 years ago
parent e459592ac9
commit b604a4961c

@ -269,7 +269,7 @@ SocketTopics.move = function(socket, data, callback) {
},
function(cid, next) {
oldCid = cid;
threadTools.move(tid, data.cid, data.uid, next);
threadTools.move(tid, data.cid, socket.uid, next);
}
], function(err) {
if(err) {
@ -305,7 +305,7 @@ SocketTopics.moveAll = function(socket, data, callback) {
}
async.each(tids, function(tid, next) {
threadTools.move(tid, data.cid, data.uid, next);
threadTools.move(tid, data.cid, socket.uid, next);
}, callback);
});
});

Loading…
Cancel
Save