mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-23 19:19:53 +00:00
Fix disco add_item.
If no JID is specified for the item, use xmpp.boundjid.full.
This commit is contained in:
parent
d3b1f8c476
commit
acc2d071ac
1 changed files with 2 additions and 2 deletions
|
@ -359,8 +359,8 @@ class xep_0030(base_plugin):
|
|||
subnode -- Optional node for the item.
|
||||
ijid -- The JID to modify.
|
||||
"""
|
||||
if jid is None:
|
||||
jid = ''
|
||||
if not jid:
|
||||
jid = self.xmpp.boundjid.full
|
||||
kwargs = {'ijid': jid,
|
||||
'name': name,
|
||||
'inode': subnode}
|
||||
|
|
Loading…
Reference in a new issue