plugin XEP-0055: remove a "debug" break that has been forgotten here
This commit is contained in:
parent
2eec7f7491
commit
bdd5648509
1 changed files with 2 additions and 1 deletions
|
|
@ -265,6 +265,7 @@ class XEP_0055(object):
|
|||
else:
|
||||
main_ui.addText(D_("The search gave no result"))
|
||||
|
||||
|
||||
## Retrieve the search fields ##
|
||||
|
||||
|
||||
|
|
@ -376,9 +377,9 @@ class XEP_0055(object):
|
|||
"""
|
||||
form = data_form.Form.fromElement(form_elt)
|
||||
d_list = []
|
||||
|
||||
for field in [field.var for field in form.fieldList if field.var]:
|
||||
d_list.append(self.searchRequest(to_jid, {field: value}, profile_key))
|
||||
break
|
||||
|
||||
def cb(result): # return the results compiled in one domish element
|
||||
result_elt = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue