diff options
Diffstat (limited to 'plugins/omemo_plugin.py')
-rw-r--r-- | plugins/omemo_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py index 345925f6..7fd352fa 100644 --- a/plugins/omemo_plugin.py +++ b/plugins/omemo_plugin.py @@ -138,13 +138,13 @@ class Plugin(E2EEPlugin): # This is where you prompt your user to ask what to do. In # this bot we will automatically trust undecided recipients. self.core.xmpp['xep_0384'].trust(exn.bare_jid, exn.device, exn.ik) - # TODO: catch NoEligibleDevicesException and MissingBundleException except MissingBundleException as exn: self.display_error( 'Could not find keys for device "%d" of recipient "%s". Skipping.' % (exn.device, exn.bare_jid), ) device_list = expect_problems.setdefault(exn.bare_jid, []) device_list.append(exn.device) + # TODO: catch NoEligibleDevicesException except (IqError, IqTimeout) as exn: self.display_error( 'An error occured while fetching information on a recipient.\n%r' % exn, |