core: replaced calls to client.xmlstream.send by client.send which is the right method to use. client.xmlstream should not be used directly

This commit is contained in:
Goffi 2017-02-04 17:59:13 +01:00
commit 6467bdb3c3
14 changed files with 54 additions and 58 deletions

View file

@ -128,7 +128,7 @@ class XEP_0184(object):
msg_result_elt = xmlstream.toResponse(msg_elt, 'result')
msg_result_elt.addChild(received_elt_ret)
client.xmlstream.send(msg_result_elt)
client.send(msg_result_elt)
def onMessageDeliveryReceiptsReceived(self, msg_elt, client):
"""This method is called on message delivery receipts **received** (XEP-0184 #7)