From 20494f122186bb1bfd82f4c598c4744acea27b0c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Nov 2017 15:22:39 +0100 Subject: Server shares user videos --- shared/models/activitypub/activity.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shared/models/activitypub') diff --git a/shared/models/activitypub/activity.ts b/shared/models/activitypub/activity.ts index b858bf759..f8e982fbb 100644 --- a/shared/models/activitypub/activity.ts +++ b/shared/models/activitypub/activity.ts @@ -24,6 +24,7 @@ export interface ActivityCreate extends BaseActivity { export interface ActivityAdd extends BaseActivity { type: 'Add' + target: string object: VideoTorrentObject } @@ -52,5 +53,5 @@ export interface ActivityAccept extends BaseActivity { export interface ActivityAnnounce extends BaseActivity { type: 'Announce' - object: VideoChannelObject | VideoTorrentObject + object: ActivityCreate | ActivityAdd } -- cgit v1.2.3