From 06bfc33e72de3879b3b5da75ada6d98aa0ad18af Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sun, 28 Jul 2024 21:58:23 +0200 Subject: [PATCH] Always update uninitialized manga in global update (#997) Manga can be added to the library while they have not been initialized yet. In this case, depending on the manga exclusion setting, they will never be updated automatically unless they get refreshed once manually. --- .../main/kotlin/suwayomi/tachidesk/manga/impl/update/Updater.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/update/Updater.kt b/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/update/Updater.kt index 55aeeb78..5705a5bd 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/update/Updater.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/update/Updater.kt @@ -294,7 +294,7 @@ class Updater : IUpdater { } } .filter { - if (serverConfig.excludeNotStarted.value) { + if (it.initialized && serverConfig.excludeNotStarted.value) { it.lastReadAt != null } else { true