Bookmark RBS + Dynamic PGO (#1503)
* Allow .NET to optimize code as it's running. * Implemented the ability to restrict users Bookmark ability. By default, users will need to now opt-in to get bookmark roles. * Fixed a tachiyomi progress syncing logic bug
This commit is contained in:
parent
30500a441c
commit
2283ae5d61
14 changed files with 75 additions and 28 deletions
|
|
@ -50,7 +50,7 @@ public class TachiyomiController : BaseApiController
|
|||
if (prevChapterId == -1)
|
||||
{
|
||||
var series = await _unitOfWork.SeriesRepository.GetSeriesDtoByIdAsync(seriesId, userId);
|
||||
var userHasProgress = series.PagesRead != 0 && series.PagesRead < series.Pages;
|
||||
var userHasProgress = series.PagesRead != 0 && series.PagesRead <= series.Pages;
|
||||
|
||||
// If the user doesn't have progress, then return null, which the extension will catch as 204 (no content) and report nothing as read
|
||||
if (!userHasProgress) return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue