Commit 411ef7a6 authored by Ryan Graham's avatar Ryan Graham Committed by ryang

fixed issue with the user's name being used to create their jid rather than their username


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1176 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4683a8fb
......@@ -268,7 +268,7 @@ public class SearchPlugin implements Component, Plugin {
Iterator userIter = users.iterator();
while (userIter.hasNext()) {
User user = (User) userIter.next();
String username = user.getName();
String username = user.getUsername();
ArrayList<XFormFieldImpl> items = new ArrayList<XFormFieldImpl>();
......
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