Mercurial > libervia-backend
diff src/plugins/plugin_xep_0065.py @ 536:a31abb97310d
core, plugins: fixed bad namespace in stanza creation
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 01 Nov 2012 22:41:39 +0100 |
parents | 2a072735e459 |
children | 2c4016921403 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0065.py Thu Nov 01 19:52:59 2012 +0100 +++ b/src/plugins/plugin_xep_0065.py Thu Nov 01 22:41:39 2012 +0100 @@ -694,7 +694,7 @@ 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 @@ @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 @@ @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