Hide reply/forward for call events.

Update SDK.
This commit is contained in:
Julien Wadel 2022-08-18 11:39:56 +02:00
parent c7962b492c
commit 7ee98041af
3 changed files with 5 additions and 1 deletions

View file

@ -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 {

View file

@ -129,6 +129,7 @@ Row {
width: textArea.width
deliveryCount: 0
isCallEvent: true
onRemoveEntryRequested: removeEntry()
}
}

@ -1 +1 @@
Subproject commit ac38c341c4a8a045e48bb170b15ff23431903763
Subproject commit 7039e5ae8eb12b2834e7bcd8f2bef27d65033781