core, plugins: fixed bad namespace in stanza creation
This commit is contained in:
parent
20815b3ec5
commit
a6d8990e49
1 changed files with 41 additions and 41 deletions
|
|
@ -694,7 +694,7 @@ class XEP_0065():
|
|||
|
||||
def activateStream(self, sid, iq_id):
|
||||
debug(_("activating stream"))
|
||||
result = domish.Element(('', 'iq'))
|
||||
result = domish.Element((None, 'iq'))
|
||||
data = self.current_stream[sid]
|
||||
result['type'] = 'result'
|
||||
result['id'] = iq_id
|
||||
|
|
@ -711,7 +711,7 @@ class XEP_0065():
|
|||
@param iq_id: IQ id
|
||||
@param to_jid: addressee
|
||||
@param xmlstream: XML stream to use to send the error"""
|
||||
result = domish.Element(('', 'iq'))
|
||||
result = domish.Element((None, 'iq'))
|
||||
result['type'] = 'result'
|
||||
result['id'] = iq_id
|
||||
result['to'] = to_jid
|
||||
|
|
@ -725,7 +725,7 @@ class XEP_0065():
|
|||
@param iq_id: IQ id
|
||||
@param to_jid: addressee
|
||||
@param xmlstream: XML stream to use to send the error"""
|
||||
result = domish.Element(('', 'iq'))
|
||||
result = domish.Element((None, 'iq'))
|
||||
result['type'] = 'result'
|
||||
result['id'] = iq_id
|
||||
result['to'] = to_jid
|
||||
|
|
|
|||
Loading…
Reference in a new issue