diff --git a/sleekxmpp/roster/single.py b/sleekxmpp/roster/single.py index 8f7a496..633f23f 100644 --- a/sleekxmpp/roster/single.py +++ b/sleekxmpp/roster/single.py @@ -144,6 +144,9 @@ class RosterNode(object): """ if isinstance(jid, JID): key = jid.bare + else: + key = jid + state = {'name': name, 'groups': groups or [], 'from': afrom,