From e38a4ed4087d007ca38aec9fc64a6c85afad8213 Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 20 Jul 2020 12:34:32 -0400 Subject: [PATCH] Fix context menu encrypted media check --- src/gui/Pages/Chat/Timeline/EventDelegate.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/Pages/Chat/Timeline/EventDelegate.qml b/src/gui/Pages/Chat/Timeline/EventDelegate.qml index 7480e525..07fb666d 100644 --- a/src/gui/Pages/Chat/Timeline/EventDelegate.qml +++ b/src/gui/Pages/Chat/Timeline/EventDelegate.qml @@ -194,7 +194,8 @@ HColumnLayout { id: copyMedia icon.name: "copy-link" text: - contextMenu.media.length === 0 || isEncryptedMedia ? + contextMenu.media.length === 0 || + contextMenu.isEncryptedMedia ? "" : contextMenu.media[0] === Utils.Media.File ?