Merge remote-tracking branch 'origin/master' into socket.io1.x

v1.18.x
barisusakli 10 years ago
commit 7e6f29e007

@ -200,7 +200,7 @@ SocketUser.uploadProfileImageFromUrl = function(socket, url, callback) {
return callback(err);
}
user.setUserFields(socket.uid, {uploadedpicture: data.image.url, picture: data.image.url}, function(err) {
user.setUserFields(socket.uid, {uploadedpicture: data.url, picture: data.url}, function(err) {
callback(err, data.image.url);
});
});

Loading…
Cancel
Save