Skip to content

Commit

Permalink
use correct lastmessage for isContinued
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchdev committed Nov 18, 2024
1 parent 6759c29 commit 0d33579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/chat/js/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0d33579

Please sign in to comment.