diff --git a/webapp/templates/twitch-moderation.html b/webapp/templates/twitch-moderation.html index c5c9f15..a00a283 100644 --- a/webapp/templates/twitch-moderation.html +++ b/webapp/templates/twitch-moderation.html @@ -651,6 +651,7 @@ // ============================= var displayedMessages = new Set(); var isAutoScroll = true; +var currentUsername = '{{ current_user.username }}'; function escapeHtml(text) { var div = document.createElement('div'); @@ -713,7 +714,7 @@ function addBotMessageToDisplay(message, type) { var messageDiv = document.createElement('div'); messageDiv.className = bgColor + ' rounded-lg p-3 text-sm animate-fade-in border-l-2'; messageDiv.style.borderLeftColor = borderColor; - messageDiv.innerHTML = '