diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-06-30 20:11:08 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-06-30 20:11:08 +0300 |
commit | b4bc3e53646599c3dd6b7ac2e35730de86415dbb (patch) | |
tree | 9c32efe42198e055f9220f7f164e221e6e943ffa | |
parent | bd2a2c69e1beb1b55b383cd91f9f65d8de12f001 (diff) |
[pgp] Dont save instance of GnuPG()
-rw-r--r-- | pgp/pgpplugin.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pgp/pgpplugin.py b/pgp/pgpplugin.py index 27ee338..67a28a2 100644 --- a/pgp/pgpplugin.py +++ b/pgp/pgpplugin.py @@ -72,16 +72,14 @@ class OldPGPPlugin(GajimPlugin): 'encryption_state' + self.encryption_name: ( self.encryption_state, None)} - self.gpg_instances = {} self.decrypt_queue = queue.Queue() self.thread = None def get_gpg(self, account): - return self.gpg_instances[account] + return gajim.connections[account].gpg def activate(self): - for account in gajim.connections: - self.gpg_instances[account] = gajim.connections[account].gpg + pass def deactivate(self): pass |