diff --git a/linphone-app/ui/modules/Linphone/Chat/ChatContent.qml b/linphone-app/ui/modules/Linphone/Chat/ChatContent.qml index e5eec45e0..f16f8bc93 100644 --- a/linphone-app/ui/modules/Linphone/Chat/ChatContent.qml +++ b/linphone-app/ui/modules/Linphone/Chat/ChatContent.qml @@ -210,7 +210,7 @@ Loader{// Use of Loader because of Repeater (items cannot be loaded dynamically) onLastTextSelectedChanged: mainItem.lastTextSelectedChanged(lastTextSelected) color: mainItem.useTextColor ? mainItem.textColor - : $modelData.isOutgoing + : chatMessageModel.isOutgoing ? ChatStyle.entry.message.outgoing.text.colorModel.color : ChatStyle.entry.message.incoming.text.colorModel.color onRightClicked: mainItem.rightClicked()