aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/plugin.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-03-27 19:28:13 +0100
committerfiaxh <git@lightrise.org>2020-03-29 20:24:38 +0200
commitc029da49bc20fdaf6da2788fbb83662ec9cf278e (patch)
treef4185a7985382e5b239c1284c264332c84de3227 /plugins/omemo/src/plugin.vala
parenta6a92487d6d9cfe8f9923effda0ed66f825dbbd2 (diff)
downloaddino-c029da49bc20fdaf6da2788fbb83662ec9cf278e.tar.gz
dino-c029da49bc20fdaf6da2788fbb83662ec9cf278e.zip
Warn about undecrypted and untrusted messages
Diffstat (limited to 'plugins/omemo/src/plugin.vala')
-rw-r--r--plugins/omemo/src/plugin.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/omemo/src/plugin.vala b/plugins/omemo/src/plugin.vala
index 0e740f20..d928994f 100644
--- a/plugins/omemo/src/plugin.vala
+++ b/plugins/omemo/src/plugin.vala
@@ -47,6 +47,7 @@ public class Plugin : RootInterface, Object {
this.app.plugin_registry.register_account_settings_entry(settings_entry);
this.app.plugin_registry.register_contact_details_entry(contact_details_provider);
this.app.plugin_registry.register_notification_populator(device_notification_populator);
+ this.app.plugin_registry.register_conversation_addition_populator(new BadMessagesPopulator(this.app.stream_interactor, this));
this.app.stream_interactor.module_manager.initialize_account_modules.connect((account, list) => {
list.add(new StreamModule());
list.add(new JetOmemo.Module(this));