Skip to content

Commit

Permalink
Update app/src/main/java/org/schabi/newpipe/database/feed/dao/FeedDAO.kt
Browse files Browse the repository at this point in the history
Co-authored-by: Stypox <[email protected]>
  • Loading branch information
TobiGr and Stypox authored Nov 23, 2023
1 parent 5265b76 commit b4a0e08
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ abstract class FeedDAO {
WHERE feed.stream_id IN (SELECT uid from (
SELECT s.uid,
(SELECT MAX(upload_date)
FROM streams
WHERE uploader_url = s.uploader_url) max_upload_date
FROM streams s1
INNER JOIN feed f1
ON s1.uid = f1.stream_id
WHERE f1.subscription_id = f.subscription_id) max_upload_date
FROM streams s
INNER JOIN feed f
ON s.uid = f.stream_id
Expand Down

0 comments on commit b4a0e08

Please sign in to comment.