diff --git a/src/java/org/jivesoftware/messenger/user/spi/UserImpl.java b/src/java/org/jivesoftware/messenger/user/spi/UserImpl.java index c167607d83fd5c9a4a315d9da3f76152b37a60c5..be5dec1b8e04b8dc5afabe76637181e0cff1d20d 100644 --- a/src/java/org/jivesoftware/messenger/user/spi/UserImpl.java +++ b/src/java/org/jivesoftware/messenger/user/spi/UserImpl.java @@ -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; }