[openpgp] Bugfixes

- Parse datetime correctly and convert to int
- Query contact keys on openpgp activation
This commit is contained in:
Philipp Hörist
2018-09-09 19:51:58 +02:00
parent 37105a881d
commit 820cec8cee
4 changed files with 15 additions and 1 deletions

View File

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