Add TODO for NoEligibleDevicesException and MissingBundleException
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
75c07a9974
commit
478d56803a
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ class EchoBot(ClientXMPP):
|
||||||
# untrusted/undecided barejid, so we need to make a decision here.
|
# untrusted/undecided barejid, so we need to make a decision here.
|
||||||
# This is where you prompt your user to ask what to do.
|
# This is where you prompt your user to ask what to do.
|
||||||
self['xep_0384'].trust(exn.bare_jid, exn.device, exn.ik)
|
self['xep_0384'].trust(exn.bare_jid, exn.device, exn.ik)
|
||||||
|
# TODO: catch NoEligibleDevicesException and MissingBundleException
|
||||||
except Exception as exn:
|
except Exception as exn:
|
||||||
await self.plain_reply(
|
await self.plain_reply(
|
||||||
original_msg,
|
original_msg,
|
||||||
|
|
Loading…
Reference in a new issue