From 33104a778d6bcfb37577d14d28f68442467636a9 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 4 Jan 2022 12:34:16 +0100 Subject: Add 'unknown' encryption state for establishing calls Currently, they are Encryption.NONE and thus marked as unencrypted in encrypted conversations --- main/src/ui/conversation_content_view/conversation_item_skeleton.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/src/ui/conversation_content_view/conversation_item_skeleton.vala b/main/src/ui/conversation_content_view/conversation_item_skeleton.vala index 73f7c671..ae2e6018 100644 --- a/main/src/ui/conversation_content_view/conversation_item_skeleton.vala +++ b/main/src/ui/conversation_content_view/conversation_item_skeleton.vala @@ -161,7 +161,7 @@ public class ItemMetaDataHeader : Box { Application app = GLib.Application.get_default() as Application; ContentMetaItem ci = item as ContentMetaItem; - if (item.encryption != Encryption.NONE && ci != null) { + if (item.encryption != Encryption.NONE && item.encryption != Encryption.UNKNOWN && ci != null) { Widget? widget = null; foreach(var e in app.plugin_registry.encryption_list_entries) { if (e.encryption == item.encryption) { -- cgit v1.2.3-70-g09d2