aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/plugin.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2024-12-24 16:02:13 +0100
committerfiaxh <git@lightrise.org>2025-01-12 19:35:58 +0100
commit5ee322cbd987d36497522b82b876659e1d19da43 (patch)
treec22d0bdbf92b30207b64ec74e925af4263ce91fc /plugins/omemo/src/plugin.vala
parentd78ec0562288fa4ed7d414d2269c00b7b8c2c588 (diff)
downloaddino-5ee322cbd987d36497522b82b876659e1d19da43.tar.gz
dino-5ee322cbd987d36497522b82b876659e1d19da43.zip
Contact details dialog: Add encryption tab
Diffstat (limited to 'plugins/omemo/src/plugin.vala')
-rw-r--r--plugins/omemo/src/plugin.vala12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/omemo/src/plugin.vala b/plugins/omemo/src/plugin.vala
index dfbe0780..b6142ba6 100644
--- a/plugins/omemo/src/plugin.vala
+++ b/plugins/omemo/src/plugin.vala
@@ -72,18 +72,6 @@ public class Plugin : RootInterface, Object {
Manager.start(this.app.stream_interactor, db, trust_manager, encryptors);
- SimpleAction own_keys_action = new SimpleAction("own-keys", VariantType.INT32);
- own_keys_action.activate.connect((variant) => {
- foreach(Dino.Entities.Account account in this.app.stream_interactor.get_accounts()) {
- if(account.id == variant.get_int32()) {
- ContactDetailsDialog dialog = new ContactDetailsDialog(this, account, account.bare_jid);
- dialog.set_transient_for(((Gtk.Application) this.app).get_active_window());
- dialog.present();
- }
- }
- });
- this.app.add_action(own_keys_action);
-
string locales_dir;
if (app.search_path_generator != null) {
locales_dir = ((!)app.search_path_generator).get_locale_path(GETTEXT_PACKAGE, LOCALE_INSTALL_DIR);