ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix internal user subscription
Chocobozzz9e2789aa4bcd
diff --git a/server/models/video/sql/videos-id-list-query-builder.ts b/server/models/video/sql/videos-id-list-query-builder.tsindex d825225abb..879f234062 100644--- a/server/models/video/sql/videos-id-list-query-builder.ts+++ b/server/models/video/sql/videos-id-list-query-builder.ts@@ -367,9 +367,9 @@ export class VideosIdListQueryBuilder extends AbstractRunQuery {' WHERE "videoShare"."videoId" = "video"."id"' +' )' +' OR' +- ' EXISTS (' + // Videos published by accounts we follow+ ' EXISTS (' + // Videos published by channels we follow' SELECT 1 from "actorFollow" ' +- ' WHERE "actorFollow"."targetActorId" = "account"."actorId" AND "actorFollow"."actorId" = :followerActorId ' ++ ' WHERE "actorFollow"."targetActorId" = "videoChannel"."actorId" AND "actorFollow"."actorId" = :followerActorId ' +' AND "actorFollow"."state" = \'accepted\'' +' )'