1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Display playlists if allowed to escape federation

This commit is contained in:
Chocobozzz 2024-03-27 15:48:29 +01:00
parent 3f8454ce63
commit 5ef0430dfb
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 25 additions and 16 deletions

View file

@ -188,7 +188,11 @@ async function listAccountPlaylists (req: express.Request, res: express.Response
const resultList = await VideoPlaylistModel.listForApi({
search: req.query.search,
followerActorId: serverActor.id,
followerActorId: isUserAbleToSearchRemoteURI(res)
? null
: serverActor.id,
start: req.query.start,
count: req.query.count,
sort: req.query.sort,