ToothlessGear / node-gcm

A NodeJS wrapper library port to send data to Android devices via Google Cloud Messaging
https://github.com/ToothlessGear/node-gcm
Other
1.3k stars 206 forks source link

Added a call of a callback function in case when no registration id were given. #38

Closed RomanIakovlev closed 10 years ago

RomanIakovlev commented 10 years ago

In case of no registration ids were passed to the 'send' function, the callback was not called, and therefore all the processing depending on callback getting called was stopped.