# HG changeset patch # User Goffi # Date 1596290300 -7200 # Node ID 53b229761c9d949dc8a987886d417e086244c86b # Parent 5887fb414758fd1e6a3fad3eb741a55c5034c176 plugin XEP-0050: typo diff -r 5887fb414758 -r 53b229761c9d sat/plugins/plugin_xep_0050.py --- a/sat/plugins/plugin_xep_0050.py Fri Jul 17 13:00:10 2020 +0200 +++ b/sat/plugins/plugin_xep_0050.py Sat Aug 01 15:58:20 2020 +0200 @@ -205,7 +205,7 @@ def _requestEb(self, failure_, request, session_id): if failure_.check(AdHocError): - error_constant = failure.value.callback_error + error_constant = failure_.value.callback_error else: log.error(f"unexpected error while handling request: {failure_}") error_constant = XEP_0050.ERROR.INTERNAL @@ -694,7 +694,8 @@ ) -> dict: """Send a series of data to an ad-hoc service - @param sequence: list of + @param sequence: list of values to send + value are specified by a dict mapping var name to value. @param node: node of the ad-hoc commnad @param service_jid: jid of the ad-hoc service None to use profile's server