ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix video announces processing
Chocobozzz8dfd8fd7ca37
diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.tsindex c9c4674d94..40e9318e38 100644--- a/server/lib/activitypub/videos.ts+++ b/server/lib/activitypub/videos.ts@@ -279,11 +279,14 @@ async function addVideoShares (instance: VideoModel, shareUrls: string[]) {const entry = {actorId: actor.id,- videoId: instance.id+ videoId: instance.id,+ url: shareUrl}await VideoShareModel.findOrCreate({- where: entry,+ where: {+ url: shareUrl+ },defaults: entry})}