example-bot: add TODO for expect_problems
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
63dc98b07b
commit
72c8acca85
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ class EchoBot(ClientXMPP):
|
||||||
# `encrypt_message` excepts the plaintext to be sent, a list of
|
# `encrypt_message` excepts the plaintext to be sent, a list of
|
||||||
# bare JIDs to encrypt to, and optionally a dict of problems to
|
# bare JIDs to encrypt to, and optionally a dict of problems to
|
||||||
# expect per bare JID.
|
# expect per bare JID.
|
||||||
|
# TODO: Document expect_problems
|
||||||
recipients = [mto]
|
recipients = [mto]
|
||||||
encrypt = await self['xep_0384'].encrypt_message(body, recipients)
|
encrypt = await self['xep_0384'].encrypt_message(body, recipients)
|
||||||
msg.append(encrypt)
|
msg.append(encrypt)
|
||||||
|
|
Loading…
Reference in a new issue