From 802601c24198a2781ec614aa01ff1bb4cc00c537 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 20 Jun 2024 08:48:24 +0200 Subject: [PATCH] Fix channel update federation --- server/core/lib/activitypub/process/process-update.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/core/lib/activitypub/process/process-update.ts b/server/core/lib/activitypub/process/process-update.ts index e96d43b70..fe75b5db0 100644 --- a/server/core/lib/activitypub/process/process-update.ts +++ b/server/core/lib/activitypub/process/process-update.ts @@ -7,7 +7,7 @@ import { PlaylistObject, VideoObject } from '@peertube/peertube-models' -import { isAccountActor } from '@server/helpers/actors.js' +import { isActorTypeValid } from '@server/helpers/custom-validators/activitypub/actor.js' import { isRedundancyAccepted } from '@server/lib/redundancy.js' import { isCacheFileObjectValid } from '../../../helpers/custom-validators/activitypub/cache-file.js' import { sanitizeAndCheckVideoTorrentObject } from '../../../helpers/custom-validators/activitypub/videos.js' @@ -34,7 +34,7 @@ async function processUpdateActivity (options: APProcessorOptions