1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-24 20:15:16 +01:00

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

Co-authored-by: Stypox <stypox@pm.me>
This commit is contained in:
Tobi 2023-11-23 17:12:16 +01:00 committed by GitHub
parent 5265b767cb
commit b4a0e08d9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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