diff options
author | fiaxh <git@lightrise.org> | 2020-03-28 14:46:51 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-03-29 20:24:39 +0200 |
commit | 1016529c36011ec881820b61778821ae4caa230a (patch) | |
tree | 554806e3691eb73febeb1f679cb1e14c5cfe884c /plugins/openpgp/src | |
parent | c029da49bc20fdaf6da2788fbb83662ec9cf278e (diff) | |
download | dino-1016529c36011ec881820b61778821ae4caa230a.tar.gz dino-1016529c36011ec881820b61778821ae4caa230a.zip |
Visually mark OMEMO messages from a trusted device as trusted
Diffstat (limited to 'plugins/openpgp/src')
-rw-r--r-- | plugins/openpgp/src/encryption_list_entry.vala | 7 |
1 files changed, 7 insertions, 0 deletions
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) ?? ""); |