Question

I am using Agsxmpp to implement XMPP protocol and want to know number of Offline messages that was sent for me. I know that by setting my state to available , sever send all offline messages, but I want to know number of offline message before come online.

Was it helpful?

Solution

When you server supports XEP-0013: Flexible Offline Message Retrieval you can retieve the number of offline messages like described here:
http://xmpp.org/extensions/xep-0013.html#request-number

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top