0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

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:
jp9000 2019-02-10 22:50:46 -08:00
parent 6629c5d7b8
commit 1b45007530

View File

@ -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);