From 46c76aac5a097651d75d5ca30d3ee748b006ca31 Mon Sep 17 00:00:00 2001 From: Rodrigo Emanuel Date: Wed, 18 Jun 2025 15:32:10 -0300 Subject: [PATCH] Update app.js --- js/app.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/app.js b/js/app.js index e345046..041687b 100644 --- a/js/app.js +++ b/js/app.js @@ -94,10 +94,8 @@ const streamerBotClient = new StreamerbotClient({ async function addMessageToChat(userID, messageID, platform, data) { - - let userNameForThis = data.userName || data.fullUserName; - if (ttsSpeakerBotChat == true) { ttsSpeakerBotSays(data.fullUserName, currentLang.ttschat, data.message); } + if (ttsSpeakerBotChat == true) { ttsSpeakerBotSays(data.userName, currentLang.ttschat, data.message); } let html = DOMPurify.sanitize(`
@@ -115,7 +113,7 @@ async function addMessageToChat(userID, messageID, platform, data) { ${showBadges == true ? ''+data.badges+'' : ''} - ${userNameForThis}: + ${data.userName}: ${!data.reply ? '' : data.reply}