Adapt to nbxmpp changes

This commit is contained in:
lovetox
2021-03-03 22:15:13 +01:00
parent 18c96e6244
commit 1cd530876a
4 changed files with 5 additions and 5 deletions

View File

@@ -140,7 +140,7 @@ class OpenPGPPlugin(GajimPlugin):
keys = app.connections[account].get_module('OpenPGP').get_keys(
jid, only_trusted=False)
if not keys:
con.get_module('OpenPGP').request_keylist(JID(jid))
con.get_module('OpenPGP').request_keylist(JID.from_string(jid))
ErrorDialog(
_('No OpenPGP key'),
_('We didnt receive a OpenPGP key from this contact.'))