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

View file

@ -1252,7 +1252,7 @@ class XEP_0065(object):
query_elt['sid'] = session_data['id']
streamhost_used_elt = query_elt.addElement('streamhost-used')
streamhost_used_elt['jid'] = candidate.jid.full()
client.xmlstream.send(result_elt)
client.send(result_elt)
class XEP_0065_handler(XMPPHandler):