aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/ui
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2025-04-05 14:33:42 +0200
committerMarvin W <git@larma.de>2025-04-06 13:58:06 +0200
commit7fa44a6ff691b2787a8232cb3174e679667c270b (patch)
treede875e72eab993b51da0d854c47d78a1c2213923 /plugins/omemo/src/ui
parent12c0d27814bf6079b7a86da7796fb89271c416eb (diff)
OMEMO: Use libomemo-c instead of libsignal-protocol-c
Diffstat (limited to 'plugins/omemo/src/ui')
-rw-r--r--plugins/omemo/src/ui/encryption_preferences_entry.vala7
1 files changed, 4 insertions, 3 deletions
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<uint32> displayed_ids = new HashSet<uint32>();
[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());