}
}
-function getOriginVideoCommentAudience (
+function getVideoCommentAudience (
videoComment: VideoCommentModel,
threadParentComments: VideoCommentModel[],
actorsInvolvedInVideo: ActorModel[],
return { to, cc }
}
-function audiencify (object: any, audience: ActivityAudience) {
+function audiencify <T> (object: T, audience: ActivityAudience) {
return Object.assign(object, audience)
}
getObjectFollowersAudience,
forwardActivity,
audiencify,
- getOriginVideoCommentAudience,
+ getVideoCommentAudience,
computeUris,
broadcastToActors
}