From 72c8acca85245a32d55e6fb73d11851589a16efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 23 Feb 2019 21:34:02 +0000 Subject: [PATCH] example-bot: add TODO for expect_problems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- examples/echo_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/echo_client.py b/examples/echo_client.py index 9e07a43..e021920 100644 --- a/examples/echo_client.py +++ b/examples/echo_client.py @@ -156,6 +156,7 @@ class EchoBot(ClientXMPP): # `encrypt_message` excepts the plaintext to be sent, a list of # bare JIDs to encrypt to, and optionally a dict of problems to # expect per bare JID. + # TODO: Document expect_problems recipients = [mto] encrypt = await self['xep_0384'].encrypt_message(body, recipients) msg.append(encrypt)