aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/src/ui/conversation_content_view/conversation_item_skeleton.vala8
1 files changed, 8 insertions, 0 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 5d86f6c7..5c71d4fb 100644
--- a/main/src/ui/conversation_content_view/conversation_item_skeleton.vala
+++ b/main/src/ui/conversation_content_view/conversation_item_skeleton.vala
@@ -154,6 +154,14 @@ public class ConversationItemSkeleton : Plugins.ConversationItemWidgetInterface,
if (encryption_entry != null) icon_name = encryption_entry.get_encryption_icon_name(conversation, ci.content_item);
encryption_image.icon_name = icon_name ?? "changes-prevent-symbolic";
encryption_image.visible = true;
+ if (item.encryption == Encryption.OMEMO) {
+ encryption_image.tooltip_text = Util.string_if_tooltips_active(_("This message is OMEMO encrypted."));
+ Util.force_color(encryption_image, "#659E4F");
+ }
+ if (item.encryption == Encryption.PGP) {
+ encryption_image.tooltip_text = Util.string_if_tooltips_active(_("This message is PGP encrypted."));
+ Util.force_color(encryption_image, "#008BF0");
+ }
}
if (item.encryption == Encryption.NONE) {