From 478d56803a877e9cb8ee451d6b454e788ccc12f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 24 Feb 2019 17:28:15 +0000 Subject: [PATCH] Add TODO for NoEligibleDevicesException and MissingBundleException 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 e021920..fa2be87 100644 --- a/examples/echo_client.py +++ b/examples/echo_client.py @@ -166,6 +166,7 @@ class EchoBot(ClientXMPP): # untrusted/undecided barejid, so we need to make a decision here. # This is where you prompt your user to ask what to do. self['xep_0384'].trust(exn.bare_jid, exn.device, exn.ik) + # TODO: catch NoEligibleDevicesException and MissingBundleException except Exception as exn: await self.plain_reply( original_msg,