update XEP-184 support by including id of request in <reveived> answer
This commit is contained in:
parent
9282678d8c
commit
6474ea0d98
|
@ -1515,8 +1515,8 @@ ConnectionJingle):
|
||||||
not in (u'to', u'none')) or gc_contact) and mtype != 'error':
|
not in (u'to', u'none')) or gc_contact) and mtype != 'error':
|
||||||
receipt = common.xmpp.Message(to=frm, typ='chat')
|
receipt = common.xmpp.Message(to=frm, typ='chat')
|
||||||
receipt.setID(msg.getID())
|
receipt.setID(msg.getID())
|
||||||
receipt.setTag('received',
|
receipt.setTag('received', namespace='urn:xmpp:receipts',
|
||||||
namespace='urn:xmpp:receipts')
|
attrs={'id': msg.getID()})
|
||||||
|
|
||||||
if thread_id:
|
if thread_id:
|
||||||
receipt.setThread(thread_id)
|
receipt.setThread(thread_id)
|
||||||
|
|
Loading…
Reference in New Issue