Skip to content
Snippets Groups Projects
Commit f4b341d4 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

we don't remember passphrase during 30 secondes if it is wrong

parent 7538333c
No related branches found
No related tags found
No related merge requests found
......@@ -568,6 +568,8 @@ def handle_event_gc_config(self, account, array):
config.GroupchatConfigWindow(self, account, jid, array[1])
def handle_event_bad_passphrase(self, account, array):
keyID = gajim.config.get_per('accounts', account, 'keyid')
self.roster.forget_gpg_passphrase(keyID)
dialogs.WarningDialog(_('Your GPG passphrase is incorrect'),
_('You are currently connected without your GPG key.')).get_response()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment