fix: receive bttv live updates again (#6132)

This commit is contained in:
iProdigy
2025-04-06 04:58:09 -05:00
committed by GitHub
parent 3481c93365
commit d8ef52a308
7 changed files with 18 additions and 15 deletions
+3 -3
View File
@@ -1021,12 +1021,12 @@ void TwitchChannel::joinBttvChannel() const
{
const auto currentAccount =
getApp()->getAccounts()->twitch.getCurrent();
QString userName;
QString userID;
if (currentAccount && !currentAccount->isAnon())
{
userName = currentAccount->getUserName();
userID = currentAccount->getUserId();
}
getApp()->getBttvLiveUpdates()->joinChannel(this->roomId(), userName);
getApp()->getBttvLiveUpdates()->joinChannel(this->roomId(), userID);
}
}