From 0d3357964867b5872bb483a43aefb5a754453ffa Mon Sep 17 00:00:00 2001 From: Mitchdev Date: Mon, 18 Nov 2024 18:50:46 +1300 Subject: [PATCH] use correct lastmessage for isContinued --- assets/chat/js/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/chat/js/chat.js b/assets/chat/js/chat.js index c789407e..eb3e7918 100644 --- a/assets/chat/js/chat.js +++ b/assets/chat/js/chat.js @@ -799,7 +799,7 @@ class Chat { // Populate highlight for this $message if (message.type === MessageTypes.USER) { // check if the last message was from the same user - message.continued = win.isContinued(message); + message.continued = win.isContinued(message, lastmessage); // set highlighted state message.highlighted = this.shouldHighlightMessage(message); }