disabled browsing users and global rooms syncing

This commit is contained in:
barisusakli
2015-11-04 12:52:55 -05:00
parent 45be95af85
commit be86c74c91
3 changed files with 20 additions and 12 deletions

View File

@@ -263,6 +263,14 @@ Sockets.isUsersOnline = function(uids, callback) {
};
Sockets.getUsersInRoom = function (uid, roomName, start, stop, callback) {
callback(null, {
users: [],
room: roomName,
total: 0,
hidden: 0
});
return;
if (!roomName) {
return;
}