@maiyannah There could be many reasons, why a client application resends a message, not only its own error ;-)
Another quote from the old discussion:
---
In this case, I guess, we need to decide on the expected behavior of AndStatus first.
My intention is to ensure that messages, posted via AndStatus, will be actually delivered to the server. Hence it is expected that in a case of an error while sending a message, AndStatus will retry sending the message later (up to 10 times for now).
There may be different errors during sending, including errors sending delivery confirmation (actually, synchronous response with a posted message) back from the server to the client resulting in re-sending of the message that was already successfully delivered to the server (because AndStatus doesn't know that the message was successfully delivered). This is a normal situation and it should be handled by communicating systems...
Do you agree so far?
---
@gargron