MAM message duplication
I enabled MAM (XEP-0313) support. But now I get message duplicates in message history after XMPP reconnect. The duplication happens only once for every message you have written. The duplicates have different timestamps than the original messages (approximately 8 seconds later than the original). The chat window also shows this duplicates, if you reopen it after the reconnect. I suspect this is some error in message id handling.
The server runs prosody 0.10 with mod_mam.
This is a bit annoying.
Steps to reproduce
Write a message to some contact (no multichat). Open the message history (your message is there, no duplicate) Close the message history again. Logoff, wait some seconds and logon again. Open the message history to this contact again. Now your last message(s) are duplicated.
OS version: Debian Jessie (Kernel 3.16)
Gajim Version: Gajim 0.16.1-c87b83e2ed1f
If you talk about c5c1e5d2, yes that could indeed fix the issue. I begin to imagine what happens:\nYou connect, request all messages since last MAM message you got.\n\nYou reconnect, and ask MAM messages since the last you got (and the last you got is when you first connected. All messages that were exchanged while you were connected are re-requested from MAM archive)\n\nSo message de-duplication filters those messages.