UI: Use Twitch dashboard chat popout
This uses the dashboard chat popout instead of the normal chat popout in order to ensure that the chat doesn't get redirected for raids/hosts.
This commit is contained in:
parent
3f59e2fb13
commit
6629c5d7b8
@ -202,7 +202,7 @@ void TwitchAuth::LoadUI()
|
||||
|
||||
url = "https://www.twitch.tv/popout/";
|
||||
url += name;
|
||||
url += "/chat";
|
||||
url += "/dashboard/live/chat";
|
||||
|
||||
QSize size = main->frameSize();
|
||||
QPoint pos = main->pos();
|
||||
@ -217,7 +217,12 @@ void TwitchAuth::LoadUI()
|
||||
browser = cef->create_widget(nullptr, url, panel_cookies);
|
||||
chat->SetWidget(browser);
|
||||
|
||||
script = bttv_script;
|
||||
script = referrer_script1;
|
||||
script += "https://www.twitch.tv/";
|
||||
script += name;
|
||||
script += "/dashboard/live";
|
||||
script += referrer_script2;
|
||||
script += bttv_script;
|
||||
script += ffz_script;
|
||||
browser->setStartupScript(script);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user