Fix rerun flag not being unset after stream finishes (#5237)

This commit is contained in:
Mm2PL
2024-03-09 11:22:23 +01:00
committed by GitHub
parent 9151446c0e
commit 8cea86cf17
5 changed files with 32 additions and 1 deletions
+5
View File
@@ -1178,6 +1178,11 @@ bool TwitchChannel::setLive(bool newLiveStatus)
return false;
}
guard->live = newLiveStatus;
if (!newLiveStatus)
{
// A rerun is just a fancy livestream
guard->rerun = false;
}
return true;
}