mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-30 11:09:56 +00:00
Fix XEP-0050 issue with Unicode string type checking.
This commit is contained in:
parent
3a62908703
commit
4266ee0fa4
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ class xep_0050(base_plugin):
|
||||||
"""
|
"""
|
||||||
if jid is None:
|
if jid is None:
|
||||||
jid = self.xmpp.boundjid
|
jid = self.xmpp.boundjid
|
||||||
elif isinstance(jid, str):
|
elif not isinstance(jid, JID):
|
||||||
jid = JID(jid)
|
jid = JID(jid)
|
||||||
item_jid = jid.full
|
item_jid = jid.full
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue