Add an "Open in browser" option to whisper split (#1828)

This commit is contained in:
alazymeme
2020-08-08 23:17:51 +10:00
committed by GitHub
parent 208f9b093c
commit 1bd3d10eef
4 changed files with 16 additions and 0 deletions
+7
View File
@@ -543,6 +543,13 @@ void Split::openInBrowser()
}
}
void Split::openWhispersInBrowser()
{
auto userName = getApp()->accounts->twitch.getCurrent()->getUserName();
QDesktopServices::openUrl("https://twitch.tv/popout/moderator/" + userName +
"/whispers");
}
void Split::openBrowserPlayer()
{
ChannelPtr channel = this->getChannel();