diff --git a/source/org/jivesoftware/smack/RosterEntry.java b/source/org/jivesoftware/smack/RosterEntry.java index 31f7a1e15..55b394ed7 100644 --- a/source/org/jivesoftware/smack/RosterEntry.java +++ b/source/org/jivesoftware/smack/RosterEntry.java @@ -181,6 +181,11 @@ public class RosterEntry { } } + @Override + public int hashCode() { + return this.user.hashCode(); + } + /** * Indicates whether some other object is "equal to" this by comparing all members. *