diff options
author | Lance Stout <lancestout@gmail.com> | 2011-06-08 10:00:28 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-06-08 10:00:28 -0700 |
commit | 4266ee0fa4b2520ed930047ea73d6ac82d9b1f83 (patch) | |
tree | 3314adb4403534c10cafaceda4501d70affbe3ab /sleekxmpp | |
parent | 3a6290870363441a5664deaea9a1c902c72cb7ab (diff) | |
download | slixmpp-4266ee0fa4b2520ed930047ea73d6ac82d9b1f83.tar.gz slixmpp-4266ee0fa4b2520ed930047ea73d6ac82d9b1f83.tar.bz2 slixmpp-4266ee0fa4b2520ed930047ea73d6ac82d9b1f83.tar.xz slixmpp-4266ee0fa4b2520ed930047ea73d6ac82d9b1f83.zip |
Fix XEP-0050 issue with Unicode string type checking.
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/plugins/xep_0050/adhoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0050/adhoc.py b/sleekxmpp/plugins/xep_0050/adhoc.py index fe964e96..72c6c513 100644 --- a/sleekxmpp/plugins/xep_0050/adhoc.py +++ b/sleekxmpp/plugins/xep_0050/adhoc.py @@ -171,7 +171,7 @@ class xep_0050(base_plugin): """ if jid is None: jid = self.xmpp.boundjid - elif isinstance(jid, str): + elif not isinstance(jid, JID): jid = JID(jid) item_jid = jid.full |