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:
parent
bb82394c0d
commit
c3badc81fe
4 changed files with 21 additions and 10 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue