Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pgp
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2017-06-02 04:27:12 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2017-06-02 04:27:12 +0300
commit767adbb5f25374184afd4e527ff4ef14a43c3888 (patch)
tree782b823522c9bb053c61de5c1b1a91a4b0746005 /pgp
parent5f17bcac22edd7d5b0927d306d994bde28350b58 (diff)
[pgp] Set encryption name in event obj
Diffstat (limited to 'pgp')
-rw-r--r--pgp/pgpplugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pgp/pgpplugin.py b/pgp/pgpplugin.py
index 4f03601..94ba945 100644
--- a/pgp/pgpplugin.py
+++ b/pgp/pgpplugin.py
@@ -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
print_msg_to_log(obj.msg_iq)
callback(obj)