fixnomissingchan

This commit is contained in:
reality 2015-02-18 16:12:48 +00:00
parent 77e67b637b
commit d84b94f050

View File

@ -68,6 +68,7 @@ console.log('removing ' + uPart);
});
}, function() {
// Queue notifies for offline ops
if(!_.include(this.config.noMissingChans, cName)) {
_.each(offlineOps, function(op) {
if(!this.pending[op.id]) this.pending[op.id] = [];
this.pending[op.id].push({
@ -78,6 +79,7 @@ console.log('removing ' + uPart);
});
this.pNotify[op.id] = true;
}, this);
}
// Send notifies to online ops
ops = _.difference(ops, _.keys(offlineOps));