Fixed Twitch Watch Streaks showing incorrectly

This commit is contained in:
nutty
2026-05-10 20:58:57 +10:00
parent 9bf1efb46a
commit 07c1b82a97
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1236,7 +1236,7 @@ async function TwitchWatchStreak(data) {
if (showAvatar) {
// Render avatars
const username = data.userName;
const username = data.user.login;
const avatarURL = await GetAvatar(username, 'twitch');
const avatar = new Image();
avatar.src = avatarURL;
@@ -1250,7 +1250,7 @@ async function TwitchWatchStreak(data) {
const message = RenderMessageWithEmotesHTML(data.message, data.emotes);
titleDiv.innerText = `${displayName} is currently on a ${watchStreak} stream streak! `;
contentDiv.innerHTML = message;
contentDiv.innerHTML = ConstructMessageFromParts(data.parts);
AddMessageItem(instance, data.messageId);
}