From fc27b17c6b4ddaef2db8e7086d3f74c081026bd9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 27 Mar 2018 13:40:30 +0200 Subject: [PATCH] Put Person first in AP attributedTo --- server/models/video/video.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 } ] } -- 2.25.1