I’'m using XEP-0013 which let messages be stored on server so that user could choose self when those should be deleted. This is working great as long as user is offline(not reported available to server), but new messages are not forwared to user until she is set presence.available. Setting user to available and new messages are forwarded, but no longer stored on server. So currently I never let client go online and are constantly polling for new messages in offline mode, but this is very ineffective.
Are there any Openfire that can guide me to where this is dictated in the source so that I can change so messages are stored on server al’'a offline even when client is on-line??
It would be very appreciated! Thanks!
BTW, I have sent a request to Peter Saint-Andre a.k.a XMPP.org fame, to include support for this in future XEP-0013. It will be intressting to see what he has to say about it, but it’'s very important for us developing for mobilephones…