diff options
author | Marvin W <git@larma.de> | 2017-03-10 21:45:56 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-03-10 21:49:29 +0100 |
commit | d8e102a160f316369c99d3dc2df7d7d54f5bc955 (patch) | |
tree | d712347416a77ebbb5f9fdbb82e542af4555f4d9 /libdino/src/service/pgp_manager.vala | |
parent | 9cdc3619bd172a731333b8152ee561eed76e77f8 (diff) | |
download | dino-d8e102a160f316369c99d3dc2df7d7d54f5bc955.tar.gz dino-d8e102a160f316369c99d3dc2df7d7d54f5bc955.zip |
Use typed identity in module manager
Diffstat (limited to 'libdino/src/service/pgp_manager.vala')
-rw-r--r-- | libdino/src/service/pgp_manager.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdino/src/service/pgp_manager.vala b/libdino/src/service/pgp_manager.vala index 6f3b63d7..c8bf2180 100644 --- a/libdino/src/service/pgp_manager.vala +++ b/libdino/src/service/pgp_manager.vala @@ -1,5 +1,6 @@ using Gee; +using Xmpp; using Dino.Entities; namespace Dino { @@ -37,7 +38,7 @@ namespace Dino { } private void on_account_added(Account account) { - stream_interactor.module_manager.pgp_modules[account].received_jid_key_id.connect((stream, jid, key_id) => { + stream_interactor.module_manager.get_module(account, Xep.Pgp.Module.IDENTITY).received_jid_key_id.connect((stream, jid, key_id) => { on_jid_key_received(account, new Jid(jid), key_id); }); } |