v1.18.x
Julian Lam 11 years ago
parent a65c79cb02
commit 2a1671ba9b

@ -398,7 +398,6 @@ var async = require('async'),
}; };
Topics.pushUnreadCount = function(uids, callback) { Topics.pushUnreadCount = function(uids, callback) {
if (uids == 0) throw new Error();
if (!uids) { if (!uids) {
clients = websockets.getConnectedClients(); clients = websockets.getConnectedClients();
uids = Object.keys(clients); uids = Object.keys(clients);

Loading…
Cancel
Save