diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-28 11:16:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-28 11:16:08 +0100 |
commit | da854ddd502cd70685ef779c673b9e63757b8aa0 (patch) | |
tree | 21501d170cceaa044a5f23449cbd2eb47fd6415d /shared/models/activitypub | |
parent | f40bbe3146553ef45515ee6b6d93ce6028f045ca (diff) | |
download | PeerTube-da854ddd502cd70685ef779c673b9e63757b8aa0.tar.gz PeerTube-da854ddd502cd70685ef779c673b9e63757b8aa0.tar.zst PeerTube-da854ddd502cd70685ef779c673b9e63757b8aa0.zip |
Propagate old comment on new follow
Diffstat (limited to 'shared/models/activitypub')
-rw-r--r-- | shared/models/activitypub/objects/video-comment-object.ts | 2 | ||||
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/activitypub/objects/video-comment-object.ts b/shared/models/activitypub/objects/video-comment-object.ts index fc2a9e837..785fbbc0d 100644 --- a/shared/models/activitypub/objects/video-comment-object.ts +++ b/shared/models/activitypub/objects/video-comment-object.ts | |||
@@ -4,5 +4,7 @@ export interface VideoCommentObject { | |||
4 | content: string | 4 | content: string |
5 | inReplyTo: string | 5 | inReplyTo: string |
6 | published: string | 6 | published: string |
7 | updated: string | ||
7 | url: string | 8 | url: string |
9 | attributedTo: string | ||
8 | } | 10 | } |
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index 1405f7748..5ccc80bcb 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts | |||
@@ -27,5 +27,6 @@ export interface VideoTorrentObject { | |||
27 | likes?: ActivityPubOrderedCollection<string> | 27 | likes?: ActivityPubOrderedCollection<string> |
28 | dislikes?: ActivityPubOrderedCollection<string> | 28 | dislikes?: ActivityPubOrderedCollection<string> |
29 | shares?: ActivityPubOrderedCollection<string> | 29 | shares?: ActivityPubOrderedCollection<string> |
30 | comments?: ActivityPubOrderedCollection<string> | ||
30 | attributedTo: ActivityPubAttributedTo[] | 31 | attributedTo: ActivityPubAttributedTo[] |
31 | } | 32 | } |