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:
parent
115f5ae0e1
commit
6467bdb3c3
14 changed files with 54 additions and 58 deletions
|
|
@ -109,7 +109,7 @@ class XEP_0095(object):
|
|||
if si_condition is not None:
|
||||
iq_error_elt.error.addElement((NS_SI, si_condition))
|
||||
|
||||
client.xmlstream.send(iq_error_elt)
|
||||
client.send(iq_error_elt)
|
||||
|
||||
def acceptStream(self, iq_elt, feature_elt, misc_elts=None, profile=C.PROF_KEY_NONE):
|
||||
"""Send the accept stream initiation answer
|
||||
|
|
@ -128,7 +128,7 @@ class XEP_0095(object):
|
|||
si_elt.addChild(feature_elt)
|
||||
for elt in misc_elts:
|
||||
si_elt.addChild(elt)
|
||||
client.xmlstream.send(result_elt)
|
||||
client.send(result_elt)
|
||||
|
||||
def _parseOfferResult(self, iq_elt):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue