diff --git a/ui/app/AppLayouts/Chat/ChatColumn/Message.qml b/ui/app/AppLayouts/Chat/ChatColumn/Message.qml index 5c3028918d..6beda1eba6 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/Message.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/Message.qml @@ -66,8 +66,8 @@ Item { property string authorCurrentMsg: "authorCurrentMsg" property string authorPrevMsg: "authorPrevMsg" - property string prevMsgTimestamp: chatsModel.messageList.getMessageData(prevMessageIndex, "timestamp") - property string nextMsgTimestamp: chatsModel.messageList.getMessageData(nextMessageIndex, "timestamp") + property string prevMsgTimestamp: chatsModel.messageView.messageList.getMessageData(prevMessageIndex, "timestamp") + property string nextMsgTimestamp: chatsModel.messageView.messageList.getMessageData(nextMessageIndex, "timestamp") property bool shouldRepeatHeader: ((parseInt(timestamp, 10) - parseInt(prevMsgTimestamp, 10)) / 60 / 1000) > Constants.repeatHeaderInterval