Fix rerun flag not being unset after stream finishes (#5237)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user