aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/plugin.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2018-11-23 20:11:32 +0100
committerfiaxh <git@lightrise.org>2018-11-27 03:41:31 +0100
commit01360a73ae8a148ca19c75e3b11167965b887d8b (patch)
tree5138e52bea6362d3e0b2324befdfe77674c2afe6 /plugins/omemo/src/plugin.vala
parent2208ff9799b8b551b4da5227a32a09f9e00ffb6a (diff)
downloaddino-01360a73ae8a148ca19c75e3b11167965b887d8b.tar.gz
dino-01360a73ae8a148ca19c75e3b11167965b887d8b.zip
FileProvider for aesgcm links
Co-authored-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'plugins/omemo/src/plugin.vala')
-rw-r--r--plugins/omemo/src/plugin.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/omemo/src/plugin.vala b/plugins/omemo/src/plugin.vala
index ab22651f..be6229cc 100644
--- a/plugins/omemo/src/plugin.vala
+++ b/plugins/omemo/src/plugin.vala
@@ -49,6 +49,8 @@ public class Plugin : RootInterface, Object {
list.add(new StreamModule());
this.own_notifications = new OwnNotifications(this, this.app.stream_interactor, account);
});
+
+ app.stream_interactor.get_module(FileManager.IDENTITY).add_provider(new FileProvider(app.stream_interactor, app.db));
Manager.start(this.app.stream_interactor, db, trust_manager);
SimpleAction own_keys_action = new SimpleAction("own-keys", VariantType.INT32);