diff options
Diffstat (limited to 'server/lib/activitypub/send/misc.ts')
-rw-r--r-- | server/lib/activitypub/send/misc.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/lib/activitypub/send/misc.ts b/server/lib/activitypub/send/misc.ts index b20fcf124..b2d968c9c 100644 --- a/server/lib/activitypub/send/misc.ts +++ b/server/lib/activitypub/send/misc.ts | |||
@@ -96,7 +96,7 @@ function getOriginVideoAudience (video: VideoModel, actorsInvolvedInVideo: Actor | |||
96 | } | 96 | } |
97 | } | 97 | } |
98 | 98 | ||
99 | function getOriginVideoCommentAudience ( | 99 | function getVideoCommentAudience ( |
100 | videoComment: VideoCommentModel, | 100 | videoComment: VideoCommentModel, |
101 | threadParentComments: VideoCommentModel[], | 101 | threadParentComments: VideoCommentModel[], |
102 | actorsInvolvedInVideo: ActorModel[], | 102 | actorsInvolvedInVideo: ActorModel[], |
@@ -160,7 +160,7 @@ function buildAudience (followerInboxUrls: string[], isPublic = true) { | |||
160 | return { to, cc } | 160 | return { to, cc } |
161 | } | 161 | } |
162 | 162 | ||
163 | function audiencify (object: any, audience: ActivityAudience) { | 163 | function audiencify <T> (object: T, audience: ActivityAudience) { |
164 | return Object.assign(object, audience) | 164 | return Object.assign(object, audience) |
165 | } | 165 | } |
166 | 166 | ||
@@ -192,7 +192,7 @@ export { | |||
192 | getObjectFollowersAudience, | 192 | getObjectFollowersAudience, |
193 | forwardActivity, | 193 | forwardActivity, |
194 | audiencify, | 194 | audiencify, |
195 | getOriginVideoCommentAudience, | 195 | getVideoCommentAudience, |
196 | computeUris, | 196 | computeUris, |
197 | broadcastToActors | 197 | broadcastToActors |
198 | } | 198 | } |