Losing messages over lost connection xmpp
问题 i went through this question Lost messages over XMPP on device disconnected but there is no answer. When a connection is lost due to some network issue then the server is not able to recognize it and keeps on sending messages to disconnected receiver which are permanently lost. I have a workaround in which i ping the client from server and when the client gets disconnected server is able to recognize it after 10 sec and save further messages in queue preventing them from being lost. my