Revert "UI: Use Twitch dashboard chat popout"
This reverts commit 6629c5d7b8
.
Chat redirect only happens on raid, which is when you are ending your
stream. That's acceptable behavior for the main chat window.
This commit is contained in:
@@ -202,7 +202,7 @@ void TwitchAuth::LoadUI()
|
||||
|
||||
url = "https://www.twitch.tv/popout/";
|
||||
url += name;
|
||||
url += "/dashboard/live/chat";
|
||||
url += "/chat";
|
||||
|
||||
QSize size = main->frameSize();
|
||||
QPoint pos = main->pos();
|
||||
@@ -217,12 +217,7 @@ void TwitchAuth::LoadUI()
|
||||
browser = cef->create_widget(nullptr, url, panel_cookies);
|
||||
chat->SetWidget(browser);
|
||||
|
||||
script = referrer_script1;
|
||||
script += "https://www.twitch.tv/";
|
||||
script += name;
|
||||
script += "/dashboard/live";
|
||||
script += referrer_script2;
|
||||
script += bttv_script;
|
||||
script = bttv_script;
|
||||
script += ffz_script;
|
||||
browser->setStartupScript(script);
|
||||
|
||||
|
Reference in New Issue
Block a user