# HG changeset patch # User Goffi # Date 1386075068 -3600 # Node ID 7c806491c76a6a2a2bc4346d3e7554637dd763ba # Parent 6edd9bda4e3f9c171ff49ef8e816877ecad586d2 plugin XEP-0055: fixed form's namespace diff -r 6edd9bda4e3f -r 7c806491c76a src/plugins/plugin_xep_0055.py --- 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())