ActivityPub-federated video streaming platform using P2P directly in your web browser
Use raw URL for attributed to
Chocobozzz614d906ca6de
diff --git a/server/core/models/video/formatter/video-activity-pub-format.ts b/server/core/models/video/formatter/video-activity-pub-format.tsindex 9e2e908854..c0fc5d62a0 100644--- a/server/core/models/video/formatter/video-activity-pub-format.ts+++ b/server/core/models/video/formatter/video-activity-pub-format.ts@@ -121,14 +121,8 @@ export function videoModelToActivityPubObject (video: MVideoAP): VideoObject {hasParts: getLocalVideoChaptersActivityPubUrl(video),attributedTo: [- {- type: 'Person',- id: video.VideoChannel.Account.Actor.url- },- {- type: 'Group',- id: video.VideoChannel.Actor.url- }+ video.VideoChannel.Account.Actor.url,+ video.VideoChannel.Actor.url],...buildLiveAPAttributes(video)diff --git a/server/core/models/video/video-channel.ts b/server/core/models/video/video-channel.tsindex 40efb79bce..b00bdbbe44 100644--- a/server/core/models/video/video-channel.ts+++ b/server/core/models/video/video-channel.ts@@ -876,10 +876,7 @@ export class VideoChannelModel extends SequelizeModel<VideoChannelModel> {support: this.support,postingRestrictedToMods: true,attributedTo: [- {- type: 'Person' as 'Person',- id: this.Account.Actor.url- }+ this.Account.Actor.url]}}