From b1c1069e7e11b751ae75de5e59f39b609757b4c8 Mon Sep 17 00:00:00 2001 From: Jacob Date: Sun, 11 Aug 2024 00:12:43 -0700 Subject: [PATCH] Addressed bug with Finished Condition during background tasks (#957) --- apps/backend/src/miscellaneous.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/src/miscellaneous.rs b/apps/backend/src/miscellaneous.rs index 81bbdc5d3d..f2bb246605 100644 --- a/apps/backend/src/miscellaneous.rs +++ b/apps/backend/src/miscellaneous.rs @@ -2733,7 +2733,7 @@ impl MiscellaneousService { if !seen_history.is_empty() { new_reasons.insert(UserToMediaReason::Seen); } - if is_finished { + if !seen_history.is_empty() && is_finished { new_reasons.insert(UserToMediaReason::Finished); } } else if ute.person_id.is_some() || ute.metadata_group_id.is_some() {