plugin XEP-0055: fixed form's namespace
This commit is contained in:
parent
9a7433803b
commit
ec3a502fdf
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class XEP_0055(object):
|
||||||
search_request["from"] = client.jid.full()
|
search_request["from"] = client.jid.full()
|
||||||
search_request["to"] = to_jid.full()
|
search_request["to"] = to_jid.full()
|
||||||
query_elt = search_request.addElement('query', NS_SEARCH)
|
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)
|
x_form.makeFields(search_dict)
|
||||||
query_elt.addChild(x_form.toElement())
|
query_elt.addChild(x_form.toElement())
|
||||||
d = search_request.send(to_jid.full())
|
d = search_request.send(to_jid.full())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue