Commit 767adbb5 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[pgp] Set encryption name in event obj

parent 5f17bcac
......@@ -145,7 +145,7 @@ class OldPGPPlugin(GajimPlugin):
encmsg = enc_tag.getData()
key_id = gajim.config.get_per('accounts', account, 'keyid')
if key_id:
obj.encrypted = 'xep27'
obj.encrypted = self.encryption_name
self.decrypt_queue.put([encmsg, key_id, obj, conn, callback])
if not self.thread:
self.thread = threading.Thread(target=self.worker)
......@@ -242,6 +242,7 @@ class OldPGPPlugin(GajimPlugin):
# Set xhtml to None so it doesnt get logged
obj.xhtml = None
obj.encrypted = self.encryption_name
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment