From 7ee98041afa012a403e7ebe47d535f6ac6daba0c Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Thu, 18 Aug 2022 11:39:56 +0200 Subject: [PATCH] Hide reply/forward for call events. Update SDK. --- linphone-app/ui/modules/Linphone/Chat/ChatMenu.qml | 3 +++ linphone-app/ui/modules/Linphone/Chat/Event.qml | 1 + linphone-sdk | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/linphone-app/ui/modules/Linphone/Chat/ChatMenu.qml b/linphone-app/ui/modules/Linphone/Chat/ChatMenu.qml index a357b8767..bf15ef14e 100644 --- a/linphone-app/ui/modules/Linphone/Chat/ChatMenu.qml +++ b/linphone-app/ui/modules/Linphone/Chat/ChatMenu.qml @@ -23,6 +23,7 @@ Item { property ChatMessageModel chatMessageModel property int deliveryCount : 0 property bool deliveryVisible: false + property bool isCallEvent: false // the menu point to an event signal deliveryStatusClicked() signal removeEntryRequested() @@ -80,6 +81,7 @@ Item { iconLayoutDirection: Qt.RightToLeft menuItemStyle : MenuItemStyle.aux onTriggered: container.forwardClicked() + visible: !isCallEvent } MenuItem { //: 'Reply' : Reply to a message from menu @@ -89,6 +91,7 @@ Item { iconLayoutDirection: Qt.RightToLeft menuItemStyle : MenuItemStyle.aux onTriggered: container.replyClicked() + visible: !isCallEvent } MenuItem { diff --git a/linphone-app/ui/modules/Linphone/Chat/Event.qml b/linphone-app/ui/modules/Linphone/Chat/Event.qml index 0f68090cf..30f1313b8 100644 --- a/linphone-app/ui/modules/Linphone/Chat/Event.qml +++ b/linphone-app/ui/modules/Linphone/Chat/Event.qml @@ -129,6 +129,7 @@ Row { width: textArea.width deliveryCount: 0 + isCallEvent: true onRemoveEntryRequested: removeEntry() } } diff --git a/linphone-sdk b/linphone-sdk index ac38c341c..7039e5ae8 160000 --- a/linphone-sdk +++ b/linphone-sdk @@ -1 +1 @@ -Subproject commit ac38c341c4a8a045e48bb170b15ff23431903763 +Subproject commit 7039e5ae8eb12b2834e7bcd8f2bef27d65033781