processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/en/ejabberd/
Other
6k stars 1.5k forks source link

Duplicate PMs archived and fetched from MAM having 3 receiving accounts (2 online, 1 offline) #4227

Open mesonium opened 1 month ago

mesonium commented 1 month ago

Steps to reproduce

I put here concrete app names and channels as I have not tested it with others:

1) Have the same account A on Gajim, Conversations and Cheogram (on the same phone) 2) A is not logged on Gajim, but logged in in both apps on the phone 3) Have a 2nd account B on Gajim and send A a PM in gajim@conference.gajim.org 4) Go online in Gajim with account A

Observed Result

The message sent in step 3) from B is received twice with different stanza_ids in Gajim for A.

XML log

```xml Test message #10 ```

Setup

Gajim master Conversations 2.16 Cheogram 2.13 both accounts on conversations.im -> ejabberd 24.02