return video.url + '#views/' + byAccount.uuid + '/' + new Date().toISOString()
}
+function getVideoLikeActivityPubUrl (byAccount: AccountInstance, video: VideoInstance) {
+ return byAccount.url + '#likes/' + video.id
+}
+
+function getVideoDislikeActivityPubUrl (byAccount: AccountInstance, video: VideoInstance) {
+ return byAccount.url + '#dislikes/' + video.id
+}
+
function getAccountFollowActivityPubUrl (accountFollow: AccountFollowInstance) {
const me = accountFollow.AccountFollower
const following = accountFollow.AccountFollowing
getAnnounceActivityPubUrl,
getUpdateActivityPubUrl,
getUndoActivityPubUrl,
- getVideoViewActivityPubUrl
+ getVideoViewActivityPubUrl,
+ getVideoLikeActivityPubUrl,
+ getVideoDislikeActivityPubUrl
}