Kick is stupid and turns underscores into dashes which fuck everything up, therefore do a find/replace to make it work good

This commit is contained in:
nuttylmao
2025-08-28 08:45:44 +10:00
parent 25f0c5e935
commit c2729093b4
3 changed files with 10 additions and 1 deletions
+3
View File
@@ -107,6 +107,9 @@ const tipeeestreamDonationAction = urlParams.get("tipeeestreamDonationAction") |
const showFourthwallAlerts = GetBooleanParam("showFourthwallAlerts", false);
const fourthwallAlertAction = urlParams.get("fourthwallAlertAction") || "";
// Kick is stupid and turns underscores into dashes which fuck everything up, therefore do a find/replace to make it work good
kickUsername = kickUsername.replace(/_/g, "-");
// Set avatar visibility
if (!showAvatar) {
avatarElement.style.display = 'none';