From: Chocobozzz Date: Tue, 27 Mar 2018 11:40:30 +0000 (+0200) Subject: Put Person first in AP attributedTo X-Git-Tag: v1.0.0-beta.2~17 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=fc27b17c6b4ddaef2db8e7086d3f74c081026bd9;p=github%2FChocobozzz%2FPeerTube.git Put Person first in AP attributedTo --- diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 13bf0b6a2..0d56f6ae9 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts @@ -1113,13 +1113,13 @@ export class VideoModel extends Model { 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 } ] }