v1.18.x
barisusakli 9 years ago
parent da5891bcf6
commit 002e931a9c

@ -89,7 +89,7 @@ module.exports = function(Messaging) {
};
Messaging.getUidsInRoom = function(roomId, start, stop, callback) {
db.getSortedSetRange('chat:room:' + roomId + ':uids', start, stop, callback);
db.getSortedSetRevRange('chat:room:' + roomId + ':uids', start, stop, callback);
};
Messaging.getUsersInRoom = function(roomId, start, stop, callback) {

Loading…
Cancel
Save