From 1383ca19b50ae7463a1f310f007ed120f811b574 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 31 Jul 2012 09:20:29 -0700 Subject: Fix disco in XEP-0050 plugin. Closes issue #191 --- sleekxmpp/plugins/xep_0050/adhoc.py | 6 ------ 1 file changed, 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', -- cgit v1.2.3