mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
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
|
@ -1,9 +1,10 @@
|
|||
import { ActivityFollow } from '../../../../shared/models/activitypub/activity'
|
||||
import { getOrCreateAccount, retryTransactionWrapper } from '../../../helpers'
|
||||
import { retryTransactionWrapper } from '../../../helpers'
|
||||
import { database as db } from '../../../initializers'
|
||||
import { AccountInstance } from '../../../models/account/account-interface'
|
||||
import { logger } from '../../../helpers/logger'
|
||||
import { sendAccept } from '../send/send-accept'
|
||||
import { getOrCreateAccount } from '../account'
|
||||
|
||||
async function processFollowActivity (activity: ActivityFollow) {
|
||||
const activityObject = activity.object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue