summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-07-31 09:20:29 -0700
committerLance Stout <lancestout@gmail.com>2012-07-31 09:20:57 -0700
commit1383ca19b50ae7463a1f310f007ed120f811b574 (patch)
tree3ecc896cf30d3a27d28c5640cde3c4f2bbe5e277
parent4c3ff2abab4b0e5f17e258fff8ae46f9f02856db (diff)
downloadslixmpp-1383ca19b50ae7463a1f310f007ed120f811b574.tar.gz
slixmpp-1383ca19b50ae7463a1f310f007ed120f811b574.tar.bz2
slixmpp-1383ca19b50ae7463a1f310f007ed120f811b574.tar.xz
slixmpp-1383ca19b50ae7463a1f310f007ed120f811b574.zip
Fix disco in XEP-0050 plugin.
Closes issue #191
-rw-r--r--sleekxmpp/plugins/xep_0050/adhoc.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/sleekxmpp/plugins/xep_0050/adhoc.py b/sleekxmpp/plugins/xep_0050/adhoc.py
index 032b987a..90256228 100644
--- a/sleekxmpp/plugins/xep_0050/adhoc.py
+++ b/sleekxmpp/plugins/xep_0050/adhoc.py
@@ -187,12 +187,6 @@ class XEP_0050(BasePlugin):
jid = JID(jid)
item_jid = jid.full
- # Client disco uses only the bare JID
- if self.xmpp.is_component:
- jid = jid.full
- else:
- jid = jid.bare
-
self.xmpp['xep_0030'].add_identity(category='automation',
itype='command-list',
name='Ad-Hoc commands',