ActivityPub-federated video streaming platform using P2P directly in your web browser
Count only active lives for account limit
Chocobozzzfb4b3f91dc12
diff --git a/server/models/video/video.ts b/server/models/video/video.tsindex d33ae8a5a3..a43abbc09d 100644--- a/server/models/video/video.ts+++ b/server/models/video/video.ts@@ -1195,7 +1195,10 @@ export class VideoModel extends Model<VideoModel> {const options = {where: {remote: false,- isLive: true+ isLive: true,+ state: {+ [Op.ne]: VideoState.LIVE_ENDED+ }},include: [{