v1.18.x
Barış Soner Uşaklı 7 years ago
parent f2dcbcd710
commit 7f9d9b7654

@ -39,6 +39,13 @@ module.exports = function (SocketUser) {
function (next) {
user.setUserFields(socket.uid, data, next);
},
function (next) {
if (status !== 'offline') {
user.updateOnlineUsers(socket.uid, next);
} else {
next();
}
},
function (next) {
var data = {
uid: socket.uid,

Loading…
Cancel
Save