diff src/plugins/plugin_xep_0065.py @ 2129:6a66c8c5a567

core: replaced calls to client.xmlstream.send by client.send which is the right method to use. client.xmlstream should not be used directly
author Goffi <goffi@goffi.org>
date Sat, 04 Feb 2017 17:59:13 +0100
parents 2daf7b4c6756
children 1d3f73e065e1
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0065.py	Wed Feb 01 21:44:24 2017 +0100
+++ b/src/plugins/plugin_xep_0065.py	Sat Feb 04 17:59:13 2017 +0100
@@ -1252,7 +1252,7 @@
         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):