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:
authorwurstsalat <mailtrash@posteo.de>2022-10-08 14:54:55 +0300
committerwurstsalat <mailtrash@posteo.de>2022-10-08 14:54:58 +0300
commitf0e089967a99042b949b97c3a66d36a012a4d11a (patch)
tree4482e57b14b3fbf0fb2759b1800e01c9148b9ec7 /pgp
parent9055a4aadcf7293067d7341099db80727218b38e (diff)
[pgp] Fix message encryption
Fixes #590
Diffstat (limited to 'pgp')
-rw-r--r--pgp/modules/pgp_legacy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgp/modules/pgp_legacy.py b/pgp/modules/pgp_legacy.py
index b697a2b..828bfa0 100644
--- a/pgp/modules/pgp_legacy.py
+++ b/pgp/modules/pgp_legacy.py
@@ -157,7 +157,7 @@ class PGPLegacy(BaseModule):
callback(event)
return
- to_jid = app.get_jid_without_resource(event.jid)
+ to_jid = event.jid.bare
try:
key_id, own_key_id = self._get_key_ids(to_jid)
except NoKeyIdFound as error: