소스 검색

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 년 전
부모
커밋
1b45007530
1개의 변경된 파일2개의 추가작업 그리고 7개의 파일을 삭제
  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 = "https://www.twitch.tv/popout/";
 	url += name;
 	url += name;
-	url += "/dashboard/live/chat";
+	url += "/chat";
 
 
 	QSize size = main->frameSize();
 	QSize size = main->frameSize();
 	QPoint pos = main->pos();
 	QPoint pos = main->pos();
@@ -217,12 +217,7 @@ void TwitchAuth::LoadUI()
 	browser = cef->create_widget(nullptr, url, panel_cookies);
 	browser = cef->create_widget(nullptr, url, panel_cookies);
 	chat->SetWidget(browser);
 	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;
 	script += ffz_script;
 	browser->setStartupScript(script);
 	browser->setStartupScript(script);