Commit 07dd8d0c authored by Philipp Hörist's avatar Philipp Hörist

Discovery: Fix disco#items callback

parent 1b661828
Pipeline #6535 failed with stages
in 4 minutes and 7 seconds
......@@ -453,13 +453,16 @@ def _on_agent_info(self, fjid, node, identities, features, dataforms):
if cbkey in self._cbs:
del self._cbs[cbkey]
def _disco_items_received(self, result):
def _disco_items_received(self, task):
Callback for when we receive an agent's items
array is (agent, node, items)
if is_error_result(result):
result = task.finish()
except StanzaError as error:
addr = get_agent_address(result.jid, result.node)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment