-function getAccountFollowAcceptActivityPubUrl (accountFollow: AccountFollowInstance) {
- const follower = accountFollow.AccountFollower
- const me = accountFollow.AccountFollowing
+function getVideoSharesActivityPubUrl (video: VideoModel) {
+ return video.url + '/announces'
+}
+
+function getVideoCommentsActivityPubUrl (video: VideoModel) {
+ return video.url + '/comments'
+}
+
+function getVideoLikesActivityPubUrl (video: VideoModel) {
+ return video.url + '/likes'
+}
+
+function getVideoDislikesActivityPubUrl (video: VideoModel) {
+ return video.url + '/dislikes'
+}
+
+function getActorFollowActivityPubUrl (actorFollow: ActorFollowModel) {
+ const me = actorFollow.ActorFollower
+ const following = actorFollow.ActorFollowing
+
+ return me.url + '/follows/' + following.id
+}
+
+function getActorFollowAcceptActivityPubUrl (actorFollow: ActorFollowModel) {
+ const follower = actorFollow.ActorFollower
+ const me = actorFollow.ActorFollowing
+
+ return follower.url + '/accepts/follows/' + me.id
+}