Fix roster key issue for non-JID keys.
This commit is contained in:
parent
86d8736dcc
commit
3672856ab4
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user