diff options
author | fiaxh <git@lightrise.org> | 2022-01-04 12:34:16 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2022-01-04 21:40:51 +0100 |
commit | 33104a778d6bcfb37577d14d28f68442467636a9 (patch) | |
tree | ba3f7c945739517781b21554b04d8575d51b0894 /main/src/ui/conversation_content_view | |
parent | 85f4bddf99f92647e67e7b69c1e1902730f5ea8f (diff) | |
download | dino-33104a778d6bcfb37577d14d28f68442467636a9.tar.gz dino-33104a778d6bcfb37577d14d28f68442467636a9.zip |
Add 'unknown' encryption state for establishing calls
Currently, they are Encryption.NONE and thus marked as unencrypted in encrypted conversations
Diffstat (limited to 'main/src/ui/conversation_content_view')
-rw-r--r-- | main/src/ui/conversation_content_view/conversation_item_skeleton.vala | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |