example-bot: add TODO for expect_problems

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-02-23 21:34:02 +00:00
parent 63dc98b07b
commit 72c8acca85

View file

@ -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)