Messages are sent several times when JID ends with "!"
Versions
- OS: Kubuntu 17.10
- Gajim version: 0.16.8
- GTK version: 2.24.31+
- Python-nbxmpp version: 0.5.4-1
Steps to reproduce the problem
- Create an account with the JID like "steffi!@conversations.im"
- Enter a MUC, e.g. "conversations@conference.siacs.eu"
- Send a message
Expected behavior
Read and write messages as usual.
Actual behavior
First time I logged into the MUC the following happened:
No messages were displayed in the chat window except the enter/leave messages of other users. When sending a message, the error sound(?) played and the own message was not displayed. However, the message was actually sent 7 times and was received by other participants of the MUC.
Now I tried to reproduce it: I see at least my own messages, however, they are send twice! Here's the XML log:
<!-- In So 17 Dez 2017 15:40:35 CET -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out So 17 Dez 2017 15:40:35 CET -->
<a xmlns="urn:xmpp:sm:2" h="282" />
<!-- Out So 17 Dez 2017 15:40:36 CET -->
<message xmlns="jabber:client" to="conversations@conference.siacs.eu" type="groupchat" id="96cf517d-7a4a-4bcc-b7f6-b3675f4bf494">
<body>Now my messages are sent twice?</body>
</message>
<!-- Out So 17 Dez 2017 15:40:36 CET -->
<r xmlns="urn:xmpp:sm:2" />
<!-- Out So 17 Dez 2017 15:40:36 CET -->
<message xmlns="jabber:client" to="conversations@conference.siacs.eu" type="groupchat" id="18c0b8e6-3ca8-4601-bd3f-d24f63364ac8">
<body>Now my messages are sent twice?</body>
</message>
<!-- In So 17 Dez 2017 15:40:36 CET -->
<message xml:lang='de' to='steffi!@conversations.im/Gajim' from='conversations@conference.siacs.eu/steffi!' type='groupchat' id='96cf517d-7a4a-4bcc-b7f6-b3675f4bf494'>
<archived by='conversations@conference.siacs.eu' id='1513521636715195' xmlns='urn:xmpp:mam:tmp'/>
<stanza-id by='conversations@conference.siacs.eu' id='1513521636715195' xmlns='urn:xmpp:sid:0'/>
<body>Now my messages are sent twice?</body>
</message>
<!-- In So 17 Dez 2017 15:40:36 CET -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- In So 17 Dez 2017 15:40:36 CET -->
<a h='52' xmlns='urn:xmpp:sm:2'/>
<!-- Out So 17 Dez 2017 15:40:36 CET -->
<a xmlns="urn:xmpp:sm:2" h="283" />
<!-- In So 17 Dez 2017 15:40:36 CET -->
<message xml:lang='de' to='steffi!@conversations.im/Gajim' from='conversations@conference.siacs.eu/steffi!' type='groupchat' id='18c0b8e6-3ca8-4601-bd3f-d24f63364ac8'>
<archived by='conversations@conference.siacs.eu' id='1513521636749501' xmlns='urn:xmpp:mam:tmp'/>
<stanza-id by='conversations@conference.siacs.eu' id='1513521636749501' xmlns='urn:xmpp:sid:0'/>
<body>Now my messages are sent twice?</body>
</message>
<!-- In So 17 Dez 2017 15:40:36 CET -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out So 17 Dez 2017 15:40:36 CET -->
<a xmlns="urn:xmpp:sm:2" h="284" />
Sincerly Steffi