[pgp] Fix message encryption

Fixes #590
This commit is contained in:
wurstsalat
2022-10-08 13:54:55 +02:00
parent 9055a4aadc
commit f0e089967a

View File

@@ -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: