Forráskód Böngészése

Revert "UI: Use Twitch dashboard chat popout"

This reverts commit 6629c5d7b8f93da7f7c65f790d54f22949b79ac2.

Chat redirect only happens on raid, which is when you are ending your
stream.  That's acceptable behavior for the main chat window.
jp9000 6 éve
szülő
commit
1b45007530
1 módosított fájl, 2 hozzáadás és 7 törlés
  1. 2 7
      UI/auth-twitch.cpp

+ 2 - 7
UI/auth-twitch.cpp

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