Put Person first in AP attributedTo

This commit is contained in:
Chocobozzz 2018-03-27 13:40:30 +02:00
parent 07197db4c5
commit fc27b17c6b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 4 deletions

View File

@ -1113,13 +1113,13 @@ export class VideoModel extends Model<VideoModel> {
shares: sharesObject, shares: sharesObject,
comments: commentsObject, comments: commentsObject,
attributedTo: [ attributedTo: [
{
type: 'Group',
id: this.VideoChannel.Actor.url
},
{ {
type: 'Person', type: 'Person',
id: this.VideoChannel.Account.Actor.url id: this.VideoChannel.Account.Actor.url
},
{
type: 'Group',
id: this.VideoChannel.Actor.url
} }
] ]
} }