diff options
author | fiaxh <git@mx.ax.lt> | 2017-08-25 21:20:09 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-08-25 22:30:03 +0200 |
commit | 8533ba645046e03378d7b9fd3048f15c05f332f7 (patch) | |
tree | 8e616e8ac8e598bff9b45dd2237e94361b3635f6 /plugins/omemo | |
parent | f3e587d7663edd6dd2bdb2c87a337156d2e9d0e9 (diff) | |
download | dino-8533ba645046e03378d7b9fd3048f15c05f332f7.tar.gz dino-8533ba645046e03378d7b9fd3048f15c05f332f7.zip |
Handle xmpp ?join and ?message uris
Diffstat (limited to 'plugins/omemo')
-rw-r--r-- | plugins/omemo/src/encryption_list_entry.vala | 4 | ||||
-rw-r--r-- | plugins/omemo/src/plugin.vala | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/omemo/src/encryption_list_entry.vala b/plugins/omemo/src/encryption_list_entry.vala index 7b769e85..2e8905e2 100644 --- a/plugins/omemo/src/encryption_list_entry.vala +++ b/plugins/omemo/src/encryption_list_entry.vala @@ -16,8 +16,8 @@ public class EncryptionListEntry : Plugins.EncryptionListEntry, Object { }} public bool can_encrypt(Entities.Conversation conversation) { - return plugin.app.stream_interaction.get_module(Manager.IDENTITY).can_encrypt(conversation); + return plugin.app.stream_interactor.get_module(Manager.IDENTITY).can_encrypt(conversation); } } -}
\ No newline at end of file +} diff --git a/plugins/omemo/src/plugin.vala b/plugins/omemo/src/plugin.vala index 6851aa5e..e783b7be 100644 --- a/plugins/omemo/src/plugin.vala +++ b/plugins/omemo/src/plugin.vala @@ -37,10 +37,10 @@ public class Plugin : RootInterface, Object { this.settings_entry = new AccountSettingsEntry(this); this.app.plugin_registry.register_encryption_list_entry(list_entry); this.app.plugin_registry.register_account_settings_entry(settings_entry); - this.app.stream_interaction.module_manager.initialize_account_modules.connect((account, list) => { + this.app.stream_interactor.module_manager.initialize_account_modules.connect((account, list) => { list.add(new StreamModule()); }); - Manager.start(this.app.stream_interaction, db); + Manager.start(this.app.stream_interactor, db); string locales_dir; if (app.search_path_generator != null) { @@ -59,4 +59,4 @@ public class Plugin : RootInterface, Object { } } -}
\ No newline at end of file +} |