diff --git a/thrimbletrimmer/scripts/stream.js b/thrimbletrimmer/scripts/stream.js index e7e8e17..fd1c684 100644 --- a/thrimbletrimmer/scripts/stream.js +++ b/thrimbletrimmer/scripts/stream.js @@ -296,6 +296,10 @@ function updateChatRender() { lastChatIndex = Math.floor((rangeMin + rangeMax) / 2); } + if (lastChatIndex === 0 && globalChatData[0].when > lastAddedTime) { + lastChatIndex = -1; + } + for (let chatIndex = lastChatIndex + 1; chatIndex < globalChatData.length; chatIndex++) { const chatMessage = globalChatData[chatIndex]; if (chatMessage.when > videoDateTime) {