changeset 1506:8405d622bde0

plugin XEP-0055: remove a "debug" break that has been forgotten here
author souliane <souliane@mailoo.org>
date Wed, 02 Sep 2015 13:54:57 +0200
parents 5ddc4cf251fa
children 84250128e425
files src/plugins/plugin_xep_0055.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0055.py	Wed Sep 02 12:47:23 2015 +0200
+++ b/src/plugins/plugin_xep_0055.py	Wed Sep 02 13:54:57 2015 +0200
@@ -265,6 +265,7 @@
         else:
             main_ui.addText(D_("The search gave no result"))
 
+
     ## Retrieve the  search fields ##
 
 
@@ -376,9 +377,9 @@
         """
         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