I am using the smack library in my android project to create a instant messenger. Using a MessageListener to receive the messages and a ChatManager to send the messages, I get the offline messages in the wrong order. On my Server I have Openfire installed.
For instance a online user sends 3 seperate messages “A”, “B” and “C” to an offline User. When this offline User then comes online the message are not received in the right order. He will get displayed “C”, “B” and “A” or any other order. Why is this so? And how can this issue be resolved?
Thank you in advance for any help.