royneary / mod_push

Other
68 stars 19 forks source link

Using client state indication to publish on push notification node. #5

Open bangarharshit opened 8 years ago

bangarharshit commented 8 years ago

Currently I am seeing that you are dispatching all packets. If your app is in background you don't need chatstates, you can club presence and dispatch message real time. Is it possible to publish only if you have message as packet (or anything which requires immediate delivery). App will connect and receive presence and chatstates (if they are stored in offline storage).