mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Fetch outbox to grab old activities
This commit is contained in:
parent
e71bcc0f4b
commit
c986175d68
15 changed files with 146 additions and 46 deletions
|
@ -21,6 +21,8 @@ async function sendVideoAbuse (byAccount: AccountInstance, videoAbuse: VideoAbus
|
|||
return unicastTo(data, byAccount, video.VideoChannel.Account.sharedInboxUrl, t)
|
||||
}
|
||||
|
||||
// async function sendCreateView ()
|
||||
|
||||
async function createActivityData (url: string, byAccount: AccountInstance, object: any) {
|
||||
const { to, cc } = await getAudience(byAccount)
|
||||
const activity: ActivityCreate = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue