agsh/yapople

retrieveAll() never calls callback if there is zero messages

sidorares opened this issue · 4 comments

Had to add this to work around:

    Client.prototype.retrieve = function(what, callback) {
       if (what.length === 0) {
               callback(null, []);
       }

is this behaviour intentional?

agsh commented

Done, please test it

great, thanks @agsh
when this is going to be on npm?

agsh commented

Done

thanks!