missing semicolons

v1.18.x
barisusakli 9 years ago
parent 0afcfa5a56
commit 670ed38d75

@ -241,17 +241,17 @@ Sockets.reqFromSocket = function(socket) {
}; };
Sockets.isUserOnline = function(uid) { Sockets.isUserOnline = function(uid) {
winston.warn('[deprecated] Sockets.isUserOnline') winston.warn('[deprecated] Sockets.isUserOnline');
return false; return false;
}; };
Sockets.isUsersOnline = function(uids, callback) { Sockets.isUsersOnline = function(uids, callback) {
winston.warn('[deprecated] Sockets.isUsersOnline') winston.warn('[deprecated] Sockets.isUsersOnline');
callback(null, uids.map(function() { return false; })); callback(null, uids.map(function() { return false; }));
}; };
Sockets.getUsersInRoom = function (uid, roomName, start, stop, callback) { Sockets.getUsersInRoom = function (uid, roomName, start, stop, callback) {
winston.warn('[deprecated] Sockets.getUsersInRoom') winston.warn('[deprecated] Sockets.getUsersInRoom');
callback(null, { callback(null, {
users: [], users: [],
room: roomName, room: roomName,
@ -262,7 +262,7 @@ Sockets.getUsersInRoom = function (uid, roomName, start, stop, callback) {
}; };
Sockets.getUidsInRoom = function(roomName, callback) { Sockets.getUidsInRoom = function(roomName, callback) {
winston.warn('[deprecated] Sockets.getUidsInRoom') winston.warn('[deprecated] Sockets.getUidsInRoom');
callback = callback || function() {}; callback = callback || function() {};
callback(null, []); callback(null, []);
}; };

Loading…
Cancel
Save