From 265ba139ebf56bbdc1c65f6ea4f367774c691fc0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 Jan 2018 16:38:50 +0100 Subject: Send account activitypub update events --- shared/models/activitypub/activity.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shared/models') diff --git a/shared/models/activitypub/activity.ts b/shared/models/activitypub/activity.ts index 48b52d2cb..a87afc548 100644 --- a/shared/models/activitypub/activity.ts +++ b/shared/models/activitypub/activity.ts @@ -1,3 +1,4 @@ +import { ActivityPubActor } from './activitypub-actor' import { ActivityPubSignature } from './activitypub-signature' import { VideoTorrentObject } from './objects' import { DislikeObject } from './objects/dislike-object' @@ -33,7 +34,7 @@ export interface ActivityCreate extends BaseActivity { export interface ActivityUpdate extends BaseActivity { type: 'Update' - object: VideoTorrentObject + object: VideoTorrentObject | ActivityPubActor } export interface ActivityDelete extends BaseActivity { -- cgit v1.2.3