Error when receiving a message: ValueError: JID must contain at least domain name
Versions
- OS: Linux
- GTK+ Version: 3.22.30
- PyGObject Version: 3.28.3
- python-nbxmpp Version: 0.6.6
- Gajim Version: 1.0.3
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch
handler['func'](session, stanza)
File "/usr/lib/python3/dist-packages/gajim/common/modules/message.py", line 95, in _message_received
self_message = is_self_message(stanza, type_ == 'groupchat')
File "/usr/lib/python3/dist-packages/gajim/common/modules/util.py", line 27, in is_self_message
return frm.bareMatch(to)
File "/usr/lib/python3/dist-packages/nbxmpp/protocol.py", line 722, in bareMatch
return self.__str__(0) == JID(other).__str__(0)
File "/usr/lib/python3/dist-packages/nbxmpp/protocol.py", line 641, in __init__
raise ValueError('JID must contain at least domain name')
ValueError: JID must contain at least domain name
Steps to reproduce the problem
I can (reliably) reproduce this if I send a message to my gajim on the desktop (same account, so only the resource is different) from a mobile phone with conversation as app.