1
0
Fork 0
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:
Chocobozzz 2017-11-22 10:29:55 +01:00
parent e71bcc0f4b
commit c986175d68
No known key found for this signature in database
GPG key ID: 583A612D890159BE
15 changed files with 146 additions and 46 deletions

View file

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