From c2cde508e102ad00c561e7383cf40afdcb188f76 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Mon, 19 Feb 2018 13:55:54 +0100 Subject: [PATCH] QT: set nothing on chat message when the user hasn't receive it --- ui/modules/Linphone/Chat/OutgoingMessage.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/modules/Linphone/Chat/OutgoingMessage.qml b/ui/modules/Linphone/Chat/OutgoingMessage.qml index 83cfdb2b5..9318c3171 100644 --- a/ui/modules/Linphone/Chat/OutgoingMessage.qml +++ b/ui/modules/Linphone/Chat/OutgoingMessage.qml @@ -41,10 +41,11 @@ Item { ], $chatEntry.status) readonly property bool isRead: $chatEntry.status === ChatModel.MessageStatusDisplayed + readonly property bool isDeliveredToUser: $chatEntry.status === ChatModel.MessageStatusDeliveredToUser icon: isNotDelivered ? 'chat_error' - : (isRead ? 'chat_read' : 'chat_delivered') + : (isRead ? 'chat_read' : (isDeliveredToUser ? 'chat_delivered' : '')) iconSize: ChatStyle.entry.message.outgoing.sendIconSize MouseArea {