From ca6d36227a9273f616a462d3aad6a721ab5dd627 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Jan 2020 11:53:38 +0100 Subject: Add url field in caption and use it for thumbnails --- shared/models/activitypub/objects/common-objects.ts | 1 + shared/models/activitypub/objects/video-torrent-object.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'shared/models/activitypub') diff --git a/shared/models/activitypub/objects/common-objects.ts b/shared/models/activitypub/objects/common-objects.ts index de1116ab3..bab3ce366 100644 --- a/shared/models/activitypub/objects/common-objects.ts +++ b/shared/models/activitypub/objects/common-objects.ts @@ -1,6 +1,7 @@ export interface ActivityIdentifierObject { identifier: string name: string + url?: string } export interface ActivityIconObject { diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index 239822bc4..cadd0ea49 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts @@ -30,7 +30,9 @@ export interface VideoTorrentObject { mediaType: 'text/markdown' content: string support: string - icon: ActivityIconObject + + icon: ActivityIconObject[] + url: ActivityUrlObject[] likes: string dislikes: string -- cgit v1.2.3