Change order of query parameters of Twitch Player URLs. (#5326)

This ensures that it doesn't "fake redirect".

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
Maverick
2024-04-18 17:49:50 +02:00
committed by GitHub
parent 86a27823a2
commit 7c97e6bcc7
5 changed files with 9 additions and 7 deletions
+1 -2
View File
@@ -84,8 +84,7 @@ TwitchChannel::TwitchChannel(const QString &name)
, nameOptions{name, name, name}
, subscriptionUrl_("https://www.twitch.tv/subs/" + name)
, channelUrl_("https://twitch.tv/" + name)
, popoutPlayerUrl_("https://player.twitch.tv/?parent=twitch.tv&channel=" +
name)
, popoutPlayerUrl_(TWITCH_PLAYER_URL.arg(name))
, bttvEmotes_(std::make_shared<EmoteMap>())
, ffzEmotes_(std::make_shared<EmoteMap>())
, seventvEmotes_(std::make_shared<EmoteMap>())