[openpgp] Don’t show error when keys are missing on activation

This commit is contained in:
lovetox
2022-04-18 21:18:39 +02:00
parent 1ecf2f390d
commit 60654ac32c

View File

@@ -139,10 +139,6 @@ class OpenPGPPlugin(GajimPlugin):
jid, only_trusted=False)
if not keys:
con.get_module('OpenPGP').request_keylist(JID.from_string(jid))
ErrorDialog(
_('No OpenPGP key'),
_('We didnt receive a OpenPGP key from this contact.'))
return
return True
from openpgp.gtk.wizard import KeyWizard