Commit ef1c1618 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Fixed NPE retrieving the user's roster.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@306 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2695eed4
......@@ -239,7 +239,7 @@ public class UserImpl implements User, Cacheable {
else {
// Not in cache so load a new one:
roster = new CachedRosterImpl(username);
CacheManager.getCache("userame2roster").put(username, roster);
CacheManager.getCache("username2roster").put(username, roster);
}
return roster;
}
......
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