diff options
author | Lance Stout <lancestout@gmail.com> | 2012-01-17 23:10:14 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-01-17 23:10:14 -0800 |
commit | 3672856ab47900a8bf505cea3ea401eec8253318 (patch) | |
tree | 750c2c846e59c4801bfbe45ad1b99162b6f7cc57 /sleekxmpp/roster | |
parent | 86d8736dccd698b55ab9ddffe57326bad8851319 (diff) | |
download | slixmpp-3672856ab47900a8bf505cea3ea401eec8253318.tar.gz slixmpp-3672856ab47900a8bf505cea3ea401eec8253318.tar.bz2 slixmpp-3672856ab47900a8bf505cea3ea401eec8253318.tar.xz slixmpp-3672856ab47900a8bf505cea3ea401eec8253318.zip |
Fix roster key issue for non-JID keys.
Diffstat (limited to 'sleekxmpp/roster')
-rw-r--r-- | sleekxmpp/roster/single.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sleekxmpp/roster/single.py b/sleekxmpp/roster/single.py index 8f7a496b..633f23f6 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, |