Fix disco in XEP-0050 plugin.

Closes issue #191
This commit is contained in:
Lance Stout 2012-07-31 09:20:29 -07:00
parent 4c3ff2abab
commit 1383ca19b5

View file

@ -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',