Multiple same-nick self-contacts in MUC after nick change
When online in a MUC with multiple devices (e.g. Gajim and Conversations), after changing own nick in Gajim, there appears a second self-contact in MUCs roster with the new nick. This is "kind-of OK".
But, when changing the nick back, the two same-nick self-contacts are not re-joined into one and remain separate roster items. There are now two same-named self-contacts. When repeating the process yet again — change nickname to a different and back — a third contact is created. Repeating the process, you can create seemingly unlimited number of same-named self-contacts. See image below.
Versions:
- OS: Debian GNU/Linux 11 (bullseye) 11 (bullseye)
- GTK Version: 3.24.24
- PyGObject Version: 3.38.0
- GLib Version : 2.66.2
- python-nbxmpp Version: 3.1.0
- Gajim Version: 1.4.5
Steps to reproduce the problem
- enter a room with at least two devices under the same nickname
- change you nick in gajim
- change your nick back
- repeat from 2.