- if (video.isOwned() === false) {
- const audience = getVideoAudience(video, actorsInvolvedInVideo)
- const data = undoActivityData(undoUrl, byActor, object, audience)
-
- return unicastTo(data, byActor, video.VideoChannel.Account.Actor.sharedInboxUrl)
- }
-
- const data = undoActivityData(undoUrl, byActor, object)
-
- const followersException = [ byActor ]
- return broadcastToFollowers(data, byActor, actorsInvolvedInVideo, t, followersException)
+ return sendUndoVideoRelatedActivity({ byActor, video, url: dislikeUrl, activity: dislikeActivity, transaction: t })