Commit aeb598ac authored by Yann Leboulanger's avatar Yann Leboulanger

let's be compatible with XEP-0184 v1.0.

parent 0b5846d1
......@@ -1005,8 +1005,11 @@ def _nec_decrypted_message_received(self, obj):
# We got our message's receipt
if obj.receipt_received_tag and obj.session.control and \
gajim.config.get_per('accounts',, 'request_receipt'):
id_ = obj.receipt_received_tag.getAttr('id')
if not id_:
# old XEP implementation
id_ = obj.id_
if obj.mtype == 'error':
if not obj.msgtxt:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment