diff --git a/source/org/jivesoftware/smack/RosterEntry.java b/source/org/jivesoftware/smack/RosterEntry.java index 4135aa6bd..4ed4d590f 100644 --- a/source/org/jivesoftware/smack/RosterEntry.java +++ b/source/org/jivesoftware/smack/RosterEntry.java @@ -98,6 +98,9 @@ public class RosterEntry { public String toString() { StringBuffer buf = new StringBuffer(); + if (name != null) { + buf.append(name).append(": "); + } buf.append(user); Iterator groups = getGroups(); if (groups.hasNext()) {