AttributeError: 'NoneType' object has no attribute 'room_jid'
Versions
- OS: Debian GNU/Linux stretch/sid
- GTK+ Version: 3.24.7
- PyGObject Version: 3.30.4
- GLib Version : 2.58.3
- python-nbxmpp Version: 0.9.91
- Gajim Version: 1.1.92+b59d5434
Log
05/03/2019 19:43:38 (I) nbxmpp.client | raising event from transport: :::::DATA RECEIVED::::
_____________
<presence to='MYJID@MYSERVER/gajim.MYRESOURCE' from='chatsecure@conference.magicbroccoli.de/Peter' type='unavailable'><x xmlns='http://jabber.org/protocol/muc#user'>
<item nick='peter' role='participant' affiliation='none'/><status code='303'/></x></presence>
_____________
05/03/2019 19:43:38 (D) nbxmpp.smacks | IN, presence
Traceback (most recent call last):
File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/dispatcher.py", line 625, in dispatch
handler['func'](session, stanza, properties)
File "/home/andrey/progs/gajim.git/gajim/common/modules/muc.py", line 183, in _on_muc_user_presence
app.contacts.remove_gc_contact(self._account, contact)
File "/home/andrey/progs/gajim.git/gajim/common/contacts.py", line 484, in remove_gc_contact
return self._accounts[account].gc_contacts.remove_gc_contact(gc_contact)
File "/home/andrey/progs/gajim.git/gajim/common/contacts.py", line 694, in remove_gc_contact
if gc_contact.room_jid not in self._rooms:
AttributeError: 'NoneType' object has no attribute 'room_jid'