Fix UnboundLocalError for variable 'retry'

This commit is contained in:
Schimon Jehudah, Adv. 2024-07-07 11:33:07 +03:00
parent 6714089bdd
commit 9c068ad600
2 changed files with 3 additions and 3 deletions

View file

@ -1,2 +1,2 @@
__version__ = '0.1.88'
__version_info__ = (0, 1, 88)
__version__ = '0.1.89'
__version_info__ = (0, 1, 89)

View file

@ -59,7 +59,7 @@ class XmppOmemo:
response = message_body.decode('utf8')
omemo_decrypted = True
else:
response = omemo_decrypted = None
response = retry = omemo_decrypted = None
except (MissingOwnKey,) as exn:
# The message is missing our own key, it was not encrypted for
# us, and we can't decrypt it.