AttributeError: 'NetworkEvent' object has no attribute 'properties'
With recent gajim 7101378b and python-nbxmpp ff68a5df1 I've got a lot of following tracebacks during joining bookmarks:
10/30/2019 02:18:44 (I) nbxmpp.client | raising event from transport: :::::DATA RECEIVED::::
_____________
<message to='MYJID@MYSERVER/gajim.MYRESOURCE' from='xsf@muc.xmpp.org'><result xmlns='urn:xmpp:mam:2' queryid='1d958713-2c1b-42d5-ad36-c54bee0528fa' id='2019-10-29-e6
4a809f6500a876'><forwarded xmlns='urn:xmpp:forward:0'><delay xmlns='urn:xmpp:delay' stamp='2019-10-29T23:30:33Z'/><message xmlns='jabber:client' type='groupchat' to='
xsf@muc.xmpp.org' from='xsf@muc.xmpp.org/pep.' xml:lang='en' id='a15f1c6b32a4408d92e1d71524f99f27'><origin-id xmlns='urn:xmpp:sid:0' id='a15f1c6b32a4408d92e1d71524f99
f27'/><body>https://xmpp.org/extensions/xep-0001.html#schema I'm curious if this `<xs:schema [..] xmlns='http://www.xmpp.org/extensions'` means we s
hould declare our XEPs with this NS. Does somebody know if there's something written about this in the old parchments?</body></message></forwarded></result></mes
sage>
_____________
10/30/2019 02:18:44 (D) nbxmpp.smacks | IN, message
10/30/2019 02:18:54 (I) gajim.c.logger | Insert into DB: jid: xsf@muc.xmpp.org, time: 1572391833.0, kind: 2, stanza_id: 2019-10-29-e64a809f6500a876
10/30/2019 02:18:54 (E) gajim.c.ged | Error while running an event handler: <bound method ChatControl._nec_mam_decrypted_message_received of <gajim.chat_
control.ChatControl object at 0x7fb5ebc73450>>
Traceback (most recent call last):
File "/home/andrey/progs/gajim.git/gajim/common/ged.py", line 101, in raise_event
if handler(*args, **kwargs):
File "/home/andrey/progs/gajim.git/gajim/chat_control.py", line 792, in _nec_mam_decrypted_message_received
if obj.properties.is_muc_pm:
AttributeError: 'NetworkEvent' object has no attribute 'properties'
10/30/2019 02:18:54 (E) gajim.c.ged | Error while running an event handler: <bound method ChatControl._nec_mam_decrypted_message_received of <gajim.chat_control.ChatControl object at 0x7fb5ebe592d0>>
Traceback (most recent call last):
File "/home/andrey/progs/gajim.git/gajim/common/ged.py", line 101, in raise_event
if handler(*args, **kwargs):
File "/home/andrey/progs/gajim.git/gajim/chat_control.py", line 792, in _nec_mam_decrypted_message_received
if obj.properties.is_muc_pm:
AttributeError: 'NetworkEvent' object has no attribute 'properties'
10/30/2019 02:18:54 (E) gajim.c.ged | Error while running an event handler: <bound method ChatControl._nec_mam_decrypted_message_received of <gajim.chat_control.ChatControl object at 0x7fb5ec026450>>
Traceback (most recent call last):
File "/home/andrey/progs/gajim.git/gajim/common/ged.py", line 101, in raise_event
if handler(*args, **kwargs):
File "/home/andrey/progs/gajim.git/gajim/chat_control.py", line 792, in _nec_mam_decrypted_message_received
if obj.properties.is_muc_pm:
AttributeError: 'NetworkEvent' object has no attribute 'properties'