diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-25 11:32:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-25 11:33:04 +0200 |
commit | e251f170b00b2014ac4e823113c6ff40e3fb1471 (patch) | |
tree | 50b83c1d41dd80acd0fa745d6d3780f4204b04fa /server/lib/activitypub/send/send-announce.ts | |
parent | 16f29007dc6ad9c539195d7a7c1cde45d626ce91 (diff) | |
download | PeerTube-e251f170b00b2014ac4e823113c6ff40e3fb1471.tar.gz PeerTube-e251f170b00b2014ac4e823113c6ff40e3fb1471.tar.zst PeerTube-e251f170b00b2014ac4e823113c6ff40e3fb1471.zip |
Split files in activitypub server
Diffstat (limited to 'server/lib/activitypub/send/send-announce.ts')
-rw-r--r-- | server/lib/activitypub/send/send-announce.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/lib/activitypub/send/send-announce.ts b/server/lib/activitypub/send/send-announce.ts index 4179c9d43..fa1d47259 100644 --- a/server/lib/activitypub/send/send-announce.ts +++ b/server/lib/activitypub/send/send-announce.ts | |||
@@ -3,7 +3,8 @@ import { ActivityAnnounce, ActivityAudience } from '../../../../shared/models/ac | |||
3 | import { ActorModel } from '../../../models/activitypub/actor' | 3 | import { ActorModel } from '../../../models/activitypub/actor' |
4 | import { VideoModel } from '../../../models/video/video' | 4 | import { VideoModel } from '../../../models/video/video' |
5 | import { VideoShareModel } from '../../../models/video/video-share' | 5 | import { VideoShareModel } from '../../../models/video/video-share' |
6 | import { broadcastToFollowers, getActorsInvolvedInVideo, getAudience, getObjectFollowersAudience } from './misc' | 6 | import { broadcastToFollowers } from './utils' |
7 | import { getActorsInvolvedInVideo, getAudience, getObjectFollowersAudience } from '../audience' | ||
7 | 8 | ||
8 | async function buildVideoAnnounce (byActor: ActorModel, videoShare: VideoShareModel, video: VideoModel, t: Transaction) { | 9 | async function buildVideoAnnounce (byActor: ActorModel, videoShare: VideoShareModel, video: VideoModel, t: Transaction) { |
9 | const announcedObject = video.url | 10 | const announcedObject = video.url |