Commit 6ef2c9c7 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Aded TODO for handling max number of results

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10201 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2ae7c0c3
...@@ -567,6 +567,7 @@ public class SearchPlugin implements Component, Plugin, PropertyEventListener { ...@@ -567,6 +567,7 @@ public class SearchPlugin implements Component, Plugin, PropertyEventListener {
String query = entry.getValue(); String query = entry.getValue();
Collection<User> foundUsers = new ArrayList<User>(); Collection<User> foundUsers = new ArrayList<User>();
// TODO Check if max number of results was requested and use the new method in UserManager
if (userManager != null) { if (userManager != null) {
if (query.length() > 0 if (query.length() > 0
&& !query.equals(NAMESPACE_JABBER_IQ_SEARCH)) { && !query.equals(NAMESPACE_JABBER_IQ_SEARCH)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment