Skip to content
Snippets Groups Projects
Commit b4bc3e53 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[pgp] Dont save instance of GnuPG()

parent bd2a2c69
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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