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

don't ask passphrase if the connexion is not active

parent aac5d4d0
No related branches found
No related tags found
No related merge requests found
......@@ -1345,6 +1345,9 @@ class roster_Window:
del self.contacts[account][u.jid]
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':
keyid = None
save_gpg_pass = 0
......
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