don't ask passphrase if the connexion is not active
This commit is contained in:
parent
aac5d4d0f1
commit
25251de7f0
|
@ -1345,6 +1345,9 @@ class roster_Window:
|
||||||
del self.contacts[account][u.jid]
|
del self.contacts[account][u.jid]
|
||||||
|
|
||||||
def send_status(self, account, status, txt):
|
def send_status(self, account, status, txt):
|
||||||
|
if self.plugin.accounts[account].has_key('active'):
|
||||||
|
if not self.plugin.accounts[account]['active']:
|
||||||
|
return
|
||||||
if status != 'offline':
|
if status != 'offline':
|
||||||
keyid = None
|
keyid = None
|
||||||
save_gpg_pass = 0
|
save_gpg_pass = 0
|
||||||
|
|
Loading…
Reference in New Issue