ReneVolution / profanity-omemo-plugin

A Python plugin to use (axolotl / Signal Protocol) encryption for the profanity XMPP messenger
GNU General Public License v3.0
64 stars 14 forks source link

'NoneType' object has no attribute 'text' #43

Closed decentral1se closed 5 years ago

decentral1se commented 6 years ago
19/03/2018 00:10:35: prof: INF: ProfOmemoPlugin - Received OMEMO encrypted message.
19/03/2018 00:10:35: prof: INF: ProfOmemoPlugin - Unpacking encrypted Message stanza.
19/03/2018 00:10:35: prof: ERR: ProfOmemoPlugin - Could not handle encrypted message.
Traceback (most recent call last):
  File "/home/lwm/.local/share/profanity/plugins/prof_omemo_plugin.py", line 441, in prof_on_message_stanza_receive
    msg_dict = xmpp.unpack_encrypted_stanza(stanza)
  File "/home/lwm/.local/lib/python2.7/site-packages/profanity_omemo_plugin-0.0.1-py2.7.egg/profanity_omemo_plugin/xmpp.py", line 294, in unpack_encrypted_stanza
    payload = payload_node.text
AttributeError: 'NoneType' object has no attribute 'text'