diff options
author | wurstsalat <mailtrash@posteo.de> | 2022-10-08 14:54:55 +0300 |
---|---|---|
committer | wurstsalat <mailtrash@posteo.de> | 2022-10-08 14:54:58 +0300 |
commit | f0e089967a99042b949b97c3a66d36a012a4d11a (patch) | |
tree | 4482e57b14b3fbf0fb2759b1800e01c9148b9ec7 /pgp | |
parent | 9055a4aadcf7293067d7341099db80727218b38e (diff) |
[pgp] Fix message encryption
Fixes #590
Diffstat (limited to 'pgp')
-rw-r--r-- | pgp/modules/pgp_legacy.py | 2 |
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: |