Skip to content

Commit 57d2fe1

Browse files
committed
Fix duplicate videos in feed "All"
1 parent 2f6cb87 commit 57d2fe1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • app/src/main/java/org/schabi/newpipe/database/feed/dao

app/src/main/java/org/schabi/newpipe/database/feed/dao/FeedDAO.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ abstract class FeedDAO {
4848
ON s.uid = f.stream_id
4949
5050
LEFT JOIN feed_group_subscription_join fgs
51-
ON fgs.subscription_id = f.subscription_id
51+
ON (
52+
:groupId <> ${FeedGroupEntity.GROUP_ALL_ID}
53+
AND fgs.subscription_id = f.subscription_id
54+
)
5255
5356
WHERE (
5457
:groupId = ${FeedGroupEntity.GROUP_ALL_ID}

0 commit comments

Comments
 (0)