From 9b7b0d98cb9a41e8bd06ae627474d4e1e97139e6 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 7 Jun 2026 21:52:00 +0200 Subject: OpenPGP: Process signatures on presences only once needed - Incoming signatures are stored in the database and processed when needed (to send PGP encrypted messages or to display them in the contact details) - Outgoing signatures are stored in the database and cached until the key is changed --- plugins/openpgp/src/stream_flag.vala | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 plugins/openpgp/src/stream_flag.vala (limited to 'plugins/openpgp/src/stream_flag.vala') diff --git a/plugins/openpgp/src/stream_flag.vala b/plugins/openpgp/src/stream_flag.vala deleted file mode 100644 index df598625..00000000 --- a/plugins/openpgp/src/stream_flag.vala +++ /dev/null @@ -1,21 +0,0 @@ -using Gee; - -using Xmpp; - -namespace Dino.Plugins.OpenPgp { - -public class Flag : XmppStreamFlag { - public static FlagIdentity IDENTITY = new FlagIdentity(NS_URI, "pgp"); - - public HashMap key_ids = new HashMap(Jid.hash_bare_func, Jid.equals_bare_func); - - public string? get_key_id(Jid jid) { return key_ids[jid]; } - - public void set_key_id(Jid jid, string key) { key_ids[jid] = key; } - - public override string get_ns() { return NS_URI; } - - public override string get_id() { return IDENTITY.id; } -} - -} -- cgit v1.3