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:
parent
5414139835
commit
892211e849
26 changed files with 341 additions and 305 deletions
|
@ -3,8 +3,8 @@ import { ActivityFollow, ActivityUndo } from '../../../../shared/models/activity
|
|||
import { AccountInstance } from '../../../models'
|
||||
import { AccountFollowInstance } from '../../../models/account/account-follow-interface'
|
||||
import { unicastTo } from './misc'
|
||||
import { getAccountFollowActivityPubUrl, getUndoActivityPubUrl } from '../../../helpers/activitypub'
|
||||
import { followActivityData } from './send-follow'
|
||||
import { getAccountFollowActivityPubUrl, getUndoActivityPubUrl } from '../url'
|
||||
|
||||
async function sendUndoFollow (accountFollow: AccountFollowInstance, t: Transaction) {
|
||||
const me = accountFollow.AccountFollower
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue