I am using XEP-1098 to get delivery notifications from the server for messages the client is sending out. However, it is getting very convoluted because of some issues I am facing.
1) The message ack from the server sends only a stanza count in the h attribute but not a message_id. Something like this: a xmlns='urn:xmpp:sm:3' h='3' . The problem is if the client tries to send some messages when stream is not connected, the count goes out of sync and I have to make an estimate for what stanza count I should receive on the next ack request on the client side. Is it possible to receive back a message_id pulled from the actual message that was sent? if this is not implemented currently, could someone suggest the changes that would be required on the ejab server that would make it possible.
Thank you very much.