Skip to content

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

Put Person first in AP attributedTo

Chocobozzzfc27b17c6b4d
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 13bf0b6a2f..0d56f6ae9c 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -1113,13 +1113,13 @@ export class VideoModel extends Model<VideoModel> {
shares: sharesObject,
comments: commentsObject,
attributedTo: [
- {
- type: 'Group',
- id: this.VideoChannel.Actor.url
- },
{
type: 'Person',
id: this.VideoChannel.Account.Actor.url
+ },
+ {
+ type: 'Group',
+ id: this.VideoChannel.Actor.url
}
]
}