MAM message duplication
Bug description
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.
Software versions
OS version: Debian Jessie (Kernel 3.16)
GTK+-Version: 2.24.25
PyGTK-Version: 2.24.0
Gajim Version: Gajim 0.16.1-c87b83e2ed1f