This commit is contained in:
Denis Fomin 2010-11-18 19:02:34 +03:00
parent 9dfbd23424
commit 82e65e9bd7
1 changed files with 2 additions and 2 deletions

View File

@ -1311,7 +1311,7 @@ class BadGPGPassphraseEvent(nec.NetworkIncomingEvent):
def generate(self):
self.account = self.conn.name
self.use_gpg_agent = gajim.config.get('use_gpg_agent')
self.keyID = gajim.config.get_per('accounts', account, 'keyid')
self.keyID = gajim.config.get_per('accounts', self.conn.name, 'keyid')
return True
class ConnectionLostEvent(nec.NetworkIncomingEvent):
@ -1384,4 +1384,4 @@ class GPGPasswordRequired(nec.NetworkIncomingEvent):
def generate(self):
self.keyid = gajim.config.get_per('accounts', self.conn.name, 'keyid')
return True
return True