Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to intercept ping result from whatsapp server #1073

Open
boxim opened this issue Jan 1, 2015 · 1 comment
Open

How to intercept ping result from whatsapp server #1073

boxim opened this issue Jan 1, 2015 · 1 comment

Comments

@boxim
Copy link

boxim commented Jan 1, 2015

Hello,

I am sending ping using sendPing() function every now and then in-order to stay alive and I noticed that after sending a ping - Whatsapp server returns a result:

rx  <iq from="s.whatsapp.net" id="ping_-1420039342-19" type="result"></iq>

I would like to know how can I intercept this reply node to make sure that the sender account is actually online..

Thanks in advanced,
Din.

@boxim
Copy link
Author

boxim commented Jan 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant