Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix videos stats

Chocobozzz6504b3bfd947
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 4f711b2fa9..cdc1137be3 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -1385,7 +1385,6 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
count: 0,
sort: '-publishedAt',
nsfw: null,
- isLocal: true,
displayOnlyForFollower: {
actorId: serverActor.id,
orLocalVideos: true
diff --git a/server/tests/api/live/live-save-replay.ts b/server/tests/api/live/live-save-replay.ts
index 7ddcb04ef6..99ad3b2e1a 100644
--- a/server/tests/api/live/live-save-replay.ts
+++ b/server/tests/api/live/live-save-replay.ts
@@ -316,7 +316,7 @@ describe('Save replay setting', function () {
})
it('Should correctly terminate the stream on blacklist and blacklist the saved replay video', async function () {
- this.timeout(40000)
+ this.timeout(120000)
await publishLiveAndBlacklist({ permanent: false, replay: true })
@@ -412,7 +412,7 @@ describe('Save replay setting', function () {
})
it('Should correctly terminate the stream on blacklist and blacklist the saved replay video', async function () {
- this.timeout(60000)
+ this.timeout(120000)
await servers[0].videos.remove({ id: lastReplayUUID })
const { liveDetails } = await publishLiveAndBlacklist({ permanent: true, replay: true })