Random old messages appear in open chat windows on reconnect (without smacks)
When gajim reconnects, tries to resume via smacks and the smacks session is unknown something weird happens.
It correctly uses mam to load its history from the server and that seems to be correct (I looked at the xml console output).
But in my open chat windows old messages from days ago (8, 9 days old or even older) appear.
Those messages are not in the mam responses I see in the xml console.
And I even restarted my computer 3 days ago, so it seems to be something persistent across gajim restarts.
Only incoming messages appear that way, not even a single outgoing message. And not all incoming messages since x days ago appear, but only random "blocks" of continous messages.
All stanzas sent and received in the last 2 months use uuids as ids. So it cannot be a simple id clash of some sort (my first suspect when I saw this).
Steps to reproduce
See above (but I'm not 100% sure if this is always the case).