plugin XEP-0384: handle NoEligibleDevicesException
This commit is contained in:
parent
e89135b8ae
commit
0fbde67f2a
1 changed files with 6 additions and 0 deletions
|
|
@ -820,6 +820,12 @@ class OMEMO(object):
|
||||||
problem.device)
|
problem.device)
|
||||||
expect_problems.setdefault(problem.bare_jid, set()).add(
|
expect_problems.setdefault(problem.bare_jid, set()).add(
|
||||||
problem.device)
|
problem.device)
|
||||||
|
elif isinstance(problem, omemo_excpt.NoEligibleDevicesException):
|
||||||
|
if untrusted or found_bundles:
|
||||||
|
# we may have new devices after this run, so let's continue for now
|
||||||
|
continue
|
||||||
|
else:
|
||||||
|
raise problem
|
||||||
else:
|
else:
|
||||||
raise problem
|
raise problem
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue