XEP-0060: fix get_item_ids (fix #3548)
missing return statement, the function would work with callbacks, but that is a bit meh.
This commit is contained in:
parent
651e0ea593
commit
1f14fb54c2
@ -464,10 +464,10 @@ class XEP_0060(BasePlugin):
|
||||
"""
|
||||
Retrieve the ItemIDs hosted by a given node, using disco.
|
||||
"""
|
||||
self.xmpp['xep_0030'].get_items(jid, node, ifrom=ifrom,
|
||||
callback=callback, timeout=timeout,
|
||||
iterator=iterator,
|
||||
timeout_callback=timeout_callback)
|
||||
return self.xmpp['xep_0030'].get_items(jid, node, ifrom=ifrom,
|
||||
callback=callback, timeout=timeout,
|
||||
iterator=iterator,
|
||||
timeout_callback=timeout_callback)
|
||||
|
||||
def modify_affiliations(self, jid, node, affiliations=None, ifrom=None,
|
||||
timeout_callback=None, callback=None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user