parent
4c3ff2abab
commit
1383ca19b5
@ -187,12 +187,6 @@ class XEP_0050(BasePlugin):
|
|||||||
jid = JID(jid)
|
jid = JID(jid)
|
||||||
item_jid = jid.full
|
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',
|
self.xmpp['xep_0030'].add_identity(category='automation',
|
||||||
itype='command-list',
|
itype='command-list',
|
||||||
name='Ad-Hoc commands',
|
name='Ad-Hoc commands',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user