diff options
author | Marvin W <git@larma.de> | 2017-05-13 17:48:13 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-08-27 14:52:18 +0200 |
commit | 9840774a87b9d15523ecc04ee4c157270e9abfe5 (patch) | |
tree | e3183522c19cabc787ec969d67a35208cd9c61de /plugins/omemo/src/plugin.vala | |
parent | ad033beea82a4ba20da71220966b80d5f674428f (diff) | |
download | dino-9840774a87b9d15523ecc04ee4c157270e9abfe5.tar.gz dino-9840774a87b9d15523ecc04ee4c157270e9abfe5.zip |
omemo: store and display identity keys of all devices
Diffstat (limited to 'plugins/omemo/src/plugin.vala')
-rw-r--r-- | plugins/omemo/src/plugin.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/omemo/src/plugin.vala b/plugins/omemo/src/plugin.vala index e783b7be..18661403 100644 --- a/plugins/omemo/src/plugin.vala +++ b/plugins/omemo/src/plugin.vala @@ -27,6 +27,7 @@ public class Plugin : RootInterface, Object { public Database db; public EncryptionListEntry list_entry; public AccountSettingsEntry settings_entry; + public ContactDetailsProvider contact_details_provider; public void registered(Dino.Application app) { try { @@ -35,8 +36,10 @@ public class Plugin : RootInterface, Object { this.db = new Database(Path.build_filename(Application.get_storage_dir(), "omemo.db")); this.list_entry = new EncryptionListEntry(this); this.settings_entry = new AccountSettingsEntry(this); + this.contact_details_provider = new ContactDetailsProvider(this); this.app.plugin_registry.register_encryption_list_entry(list_entry); this.app.plugin_registry.register_account_settings_entry(settings_entry); + this.app.plugin_registry.register_contact_details_entry(contact_details_provider); this.app.stream_interactor.module_manager.initialize_account_modules.connect((account, list) => { list.add(new StreamModule()); }); |