1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Fix delete activities

This commit is contained in:
Chocobozzz 2018-01-04 16:56:36 +01:00
parent bb82394c0d
commit c3badc81fe
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 21 additions and 10 deletions

View file

@ -55,6 +55,10 @@ function getAnnounceActivityPubUrl (originalUrl: string, byActor: ActorModel) {
return originalUrl + '/announces/' + byActor.id
}
function getDeleteActivityPubUrl (originalUrl: string) {
return originalUrl + '/delete'
}
function getUpdateActivityPubUrl (originalUrl: string, updatedAt: string) {
return originalUrl + '/updates/' + updatedAt
}
@ -76,5 +80,6 @@ export {
getVideoViewActivityPubUrl,
getVideoLikeActivityPubUrl,
getVideoDislikeActivityPubUrl,
getVideoCommentActivityPubUrl
getVideoCommentActivityPubUrl,
getDeleteActivityPubUrl
}