Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix disco in XEP-0050 plugin.

Closes issue #191
  • Loading branch information...
commit 1383ca19b50ae7463a1f310f007ed120f811b574 1 parent 4c3ff2a
@legastero legastero authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 sleekxmpp/plugins/xep_0050/adhoc.py
View
6 sleekxmpp/plugins/xep_0050/adhoc.py
@@ -187,12 +187,6 @@ def add_command(self, jid=None, node=None, name='', handler=None):
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',
Please sign in to comment.
Something went wrong with that request. Please try again.