core, plugins: fixed bad namespace in stanza creation

This commit is contained in:
Goffi 2012-11-01 22:41:39 +01:00
commit a6d8990e49

View file

@ -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