From bdd56485095a57e5070b9fd094a6e39c51b98859 Mon Sep 17 00:00:00 2001 From: souliane Date: Wed, 2 Sep 2015 13:54:57 +0200 Subject: [PATCH] plugin XEP-0055: remove a "debug" break that has been forgotten here --- src/plugins/plugin_xep_0055.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/plugin_xep_0055.py b/src/plugins/plugin_xep_0055.py index 1252eb36..9b7d6da3 100644 --- a/src/plugins/plugin_xep_0055.py +++ b/src/plugins/plugin_xep_0055.py @@ -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