From 7fa44a6ff691b2787a8232cb3174e679667c270b Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sat, 5 Apr 2025 14:33:42 +0200 Subject: OMEMO: Use libomemo-c instead of libsignal-protocol-c --- plugins/omemo/src/ui/encryption_preferences_entry.vala | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/omemo/src/ui') diff --git a/plugins/omemo/src/ui/encryption_preferences_entry.vala b/plugins/omemo/src/ui/encryption_preferences_entry.vala index 0f9456d9..5bfeb340 100644 --- a/plugins/omemo/src/ui/encryption_preferences_entry.vala +++ b/plugins/omemo/src/ui/encryption_preferences_entry.vala @@ -4,6 +4,7 @@ using Gee; using Xmpp; using Dino.Entities; using Gtk; +using Omemo; namespace Dino.Plugins.Omemo { @@ -32,7 +33,7 @@ public class OmemoPreferencesWidget : Adw.PreferencesGroup { private Account account; private Jid jid; private int identity_id = 0; - private Signal.Store store; + private Store store; private Set displayed_ids = new HashSet(); [GtkChild] private unowned Adw.ActionRow automatically_accept_new_row; @@ -190,8 +191,8 @@ public class OmemoPreferencesWidget : Adw.PreferencesGroup { bool key_active = device[plugin.db.identity_meta.now_active]; if (store != null) { try { - Signal.Address address = new Signal.Address(jid.to_string(), device[plugin.db.identity_meta.device_id]); - Signal.SessionRecord? session = null; + Address address = new Address(jid.to_string(), device[plugin.db.identity_meta.device_id]); + SessionRecord? session = null; if (store.contains_session(address)) { session = store.load_session(address); string session_key_base64 = Base64.encode(session.state.remote_identity_key.serialize()); -- cgit v1.3