Move activitypub functions from helpers/ to lib/

This commit is contained in:
Chocobozzz 2017-11-20 10:24:29 +01:00
parent 5414139835
commit 892211e849
No known key found for this signature in database
GPG key ID: 583A612D890159BE
26 changed files with 341 additions and 305 deletions

View file

@ -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