mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-12-02 05:19:17 -06:00
Only list unlisted/public videos in outbox
This commit is contained in:
parent
1d230c4419
commit
3c75ce12d5
@ -486,7 +486,11 @@ export class VideoModel extends Model<VideoModel> {
|
||||
where: {
|
||||
id: {
|
||||
[Sequelize.Op.in]: Sequelize.literal('(' + rawQuery + ')')
|
||||
}
|
||||
},
|
||||
[Sequelize.Op.or]: [
|
||||
{ privacy: VideoPrivacy.PUBLIC },
|
||||
{ privacy: VideoPrivacy.UNLISTED }
|
||||
]
|
||||
},
|
||||
include: [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user