AttributeError: 'NoneType' object has no attribute 'presence'
01/05/2019 17:42:00 (I) nbxmpp.client_nb: raising event from transport: :::::DATA RECEIVED::::
_____________
<presence to='MYJID@MYSERVER/gajim.P0UTV5AE' from='xsf@muc.xmpp.org/Yagiza' type='unavailable'><x xmlns='http://jabber.org/protocol/muc#user'><item affiliation='none' role='none'/></x><status xml:lang='en'>Connection failed: connection closed</status></presence>
_____________
01/05/2019 17:42:00 (D) nbxmpp.smacks: IN, presence
[...]
Traceback (most recent call last):
File "/home/andrey/progs/python-nbxmpp.git/nbxmpp/dispatcher_nb.py", line 595, in dispatch
handler['func'](session, stanza, properties)
File "/home/andrey/progs/gajim.git/gajim/common/modules/muc.py", line 231, in _on_muc_user_presence
contact.presence = properties.type
AttributeError: 'NoneType' object has no attribute 'presence'