Adapt to nbxmpp changes
This commit is contained in:
@@ -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.'))
|
||||
|
||||
Reference in New Issue
Block a user