From f4b341d43556acf7e7b97ce27014a3012537f229 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 18 Jun 2005 17:00:54 +0000 Subject: [PATCH] we don't remember passphrase during 30 secondes if it is wrong --- src/gajim.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gajim.py b/src/gajim.py index 0704f49aa..b5a99ecdf 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -568,6 +568,8 @@ class Interface: 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()