chore: consolidate twitch URLs with www (#6407)

This commit is contained in:
cqttv
2025-08-23 06:46:34 -04:00
committed by GitHub
parent 195776d4b7
commit 41ba487ca1
6 changed files with 11 additions and 9 deletions
+4 -4
View File
@@ -1101,7 +1101,7 @@ void Split::openInBrowser()
if (auto *twitchChannel = dynamic_cast<TwitchChannel *>(channel.get()))
{
QDesktopServices::openUrl("https://twitch.tv/" +
QDesktopServices::openUrl("https://www.twitch.tv/" +
twitchChannel->getName());
}
}
@@ -1109,8 +1109,8 @@ void Split::openInBrowser()
void Split::openWhispersInBrowser()
{
auto userName = getApp()->getAccounts()->twitch.getCurrent()->getUserName();
QDesktopServices::openUrl("https://twitch.tv/popout/moderator/" + userName +
"/whispers");
QDesktopServices::openUrl("https://www.twitch.tv/popout/moderator/" +
userName + "/whispers");
}
void Split::openBrowserPlayer()
@@ -1124,7 +1124,7 @@ void Split::openModViewInBrowser()
if (auto *twitchChannel = dynamic_cast<TwitchChannel *>(channel.get()))
{
QDesktopServices::openUrl("https://twitch.tv/moderator/" +
QDesktopServices::openUrl("https://www.twitch.tv/moderator/" +
twitchChannel->getName());
}
}