Skip to content

Commit a359c0a

Browse files
committed
kobo sync changed books with read progress change
1 parent 8e5652f commit a359c0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,8 @@ class KoboController(
299299
},
300300
)
301301
addAll(
302-
changedReadingState.content.mapNotNull { book ->
302+
// changed books are also passed as changed reading state because Kobo does not process ChangedEntitlement even if it contains a ReadingState
303+
(booksChanged.content + changedReadingState.content).mapNotNull { book ->
303304
readProgress[book.bookId]?.let { it ->
304305
ChangedReadingStateDto(
305306
WrappedReadingStateDto(

0 commit comments

Comments
 (0)