mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-02-01 08:24:19 +01:00
In case "ChapterForDownload#asDownloadReady" was called in quick succession, the page list got inserted twice. This caused problems with getting the images from the rest endpoint, because they are selected by sorting them by asc index and selecting the page by using the provided index as an offset. This, however, only works as long as there are no duplicates, otherwise, page indexes 1, 2; 3, 4; 5, 6; ... will just return the same page.