From 1016529c36011ec881820b61778821ae4caa230a Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 28 Mar 2020 14:46:51 +0100 Subject: Visually mark OMEMO messages from a trusted device as trusted --- plugins/openpgp/src/encryption_list_entry.vala | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/openpgp/src') diff --git a/plugins/openpgp/src/encryption_list_entry.vala b/plugins/openpgp/src/encryption_list_entry.vala index 5b89ec1c..4169a2a2 100644 --- a/plugins/openpgp/src/encryption_list_entry.vala +++ b/plugins/openpgp/src/encryption_list_entry.vala @@ -1,4 +1,5 @@ using Gee; +using Gtk; using Dino.Entities; using Xmpp; @@ -23,6 +24,12 @@ private class EncryptionListEntry : Plugins.EncryptionListEntry, Object { return "OpenPGP"; }} + public static IconSize ICON_SIZE_HEADER = Gtk.icon_size_register("im.dino.Dino.HEADER_ICON3", 17, 12); + + public Object? get_encryption_icon(Entities.Conversation conversation, ContentItem content_item) { + return null; + } + public void encryption_activated(Entities.Conversation conversation, Plugins.SetInputFieldStatus input_status_callback) { try { GPGHelper.get_public_key(db.get_account_key(conversation.account) ?? ""); -- cgit v1.2.3-70-g09d2