1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

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

@ -1,8 +1,8 @@
import { Transaction } from 'sequelize'
import { ActivityUpdate } from '../../../../shared/models/activitypub/activity'
import { getUpdateActivityPubUrl } from '../../../helpers/activitypub'
import { database as db } from '../../../initializers'
import { AccountInstance, VideoChannelInstance, VideoInstance } from '../../../models'
import { getUpdateActivityPubUrl } from '../url'
import { broadcastToFollowers, getAudience } from './misc'
async function sendUpdateVideoChannel (videoChannel: VideoChannelInstance, t: Transaction) {