summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-06-08 10:02:38 -0700
committerLance Stout <lancestout@gmail.com>2011-06-08 10:02:38 -0700
commit5c1562f36b833866e67d8ea8fb61862afbc5a0e4 (patch)
tree62a692154b8d28527d377e8307aff60a03e99c6f /sleekxmpp/plugins
parent20d053807da1f59a2f7507fb7bb3845d31e27445 (diff)
parent4266ee0fa4b2520ed930047ea73d6ac82d9b1f83 (diff)
downloadslixmpp-5c1562f36b833866e67d8ea8fb61862afbc5a0e4.tar.gz
slixmpp-5c1562f36b833866e67d8ea8fb61862afbc5a0e4.tar.bz2
slixmpp-5c1562f36b833866e67d8ea8fb61862afbc5a0e4.tar.xz
slixmpp-5c1562f36b833866e67d8ea8fb61862afbc5a0e4.zip
Merge branch 'develop' into exceptions
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0050/adhoc.py2
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