diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-03 16:38:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-03 16:38:50 +0100 |
commit | 265ba139ebf56bbdc1c65f6ea4f367774c691fc0 (patch) | |
tree | c7c52d1ae48a35b8f9aa06a9fa2335a6ba502fd1 /shared | |
parent | 9bce811268cd74b402176ae9fcd8b77ac887576e (diff) | |
download | PeerTube-265ba139ebf56bbdc1c65f6ea4f367774c691fc0.tar.gz PeerTube-265ba139ebf56bbdc1c65f6ea4f367774c691fc0.tar.zst PeerTube-265ba139ebf56bbdc1c65f6ea4f367774c691fc0.zip |
Send account activitypub update events
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/activitypub/activity.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
1 | import { ActivityPubActor } from './activitypub-actor' | ||
1 | import { ActivityPubSignature } from './activitypub-signature' | 2 | import { ActivityPubSignature } from './activitypub-signature' |
2 | import { VideoTorrentObject } from './objects' | 3 | import { VideoTorrentObject } from './objects' |
3 | import { DislikeObject } from './objects/dislike-object' | 4 | import { DislikeObject } from './objects/dislike-object' |
@@ -33,7 +34,7 @@ export interface ActivityCreate extends BaseActivity { | |||
33 | 34 | ||
34 | export interface ActivityUpdate extends BaseActivity { | 35 | export interface ActivityUpdate extends BaseActivity { |
35 | type: 'Update' | 36 | type: 'Update' |
36 | object: VideoTorrentObject | 37 | object: VideoTorrentObject | ActivityPubActor |
37 | } | 38 | } |
38 | 39 | ||
39 | export interface ActivityDelete extends BaseActivity { | 40 | export interface ActivityDelete extends BaseActivity { |