Move activitypub functions from helpers/ to lib/
This commit is contained in:
parent
5414139835
commit
892211e849
26 changed files with 341 additions and 305 deletions
|
@ -3,7 +3,7 @@ import { ActivityCreate } from '../../../../shared/models/activitypub/activity'
|
|||
import { AccountInstance, VideoChannelInstance, VideoInstance } from '../../../models'
|
||||
import { VideoAbuseInstance } from '../../../models/video/video-abuse-interface'
|
||||
import { broadcastToFollowers, getAudience, unicastTo } from './misc'
|
||||
import { getVideoAbuseActivityPubUrl } from '../../../helpers/activitypub'
|
||||
import { getVideoAbuseActivityPubUrl } from '../url'
|
||||
|
||||
async function sendCreateVideoChannel (videoChannel: VideoChannelInstance, t: Transaction) {
|
||||
const byAccount = videoChannel.Account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue