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:
parent
3f8454ce63
commit
5ef0430dfb
4 changed files with 25 additions and 16 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue