changeset 725:7c806491c76a

plugin XEP-0055: fixed form's namespace
author Goffi <goffi@goffi.org>
date Tue, 03 Dec 2013 13:51:08 +0100
parents 6edd9bda4e3f
children ade9997fabfa
files src/plugins/plugin_xep_0055.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0055.py	Tue Dec 03 13:09:49 2013 +0100
+++ b/src/plugins/plugin_xep_0055.py	Tue Dec 03 13:51:08 2013 +0100
@@ -100,7 +100,7 @@
         search_request["from"] = client.jid.full()
         search_request["to"] = to_jid.full()
         query_elt = search_request.addElement('query', NS_SEARCH)
-        x_form = data_form.Form('submit')
+        x_form = data_form.Form('submit', formNamespace = NS_SEARCH)
         x_form.makeFields(search_dict)
         query_elt.addChild(x_form.toElement())
         d = search_request.send(to_jid.full())