[Alex V. Myltsev] timeout_add -> timeout_add_seconds to forget GPG passphrase.
This commit is contained in:
parent
b004a32df9
commit
140e922733
|
@ -473,7 +473,7 @@ class PassphraseRequest:
|
|||
self.passphrase = passphrase
|
||||
self.completed = True
|
||||
if passphrase is not None:
|
||||
gobject.timeout_add(30000, gajim.interface.forget_gpg_passphrase,
|
||||
gobject.timeout_add_seconds(30, gajim.interface.forget_gpg_passphrase,
|
||||
self.keyid)
|
||||
for (account, cb) in self.callbacks:
|
||||
self.run_callback(account, cb)
|
||||
|
|
Loading…
Reference in New Issue