]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/send-request.ts
Fix issues on server start
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / send-request.ts
index e6ef5f37afebd576d6c22ae2694fa399753cb4e7..c18a6978489827e6a582f9b157276a98be7e9215 100644 (file)
@@ -85,7 +85,7 @@ export {
 // ---------------------------------------------------------------------------
 
 async function broadcastToFollowers (data: any, fromAccount: AccountInstance, t: Sequelize.Transaction) {
-  const result = await db.Account.listFollowerUrlsForApi(fromAccount.id, 0)
+  const result = await db.Account.listAcceptedFollowerUrlsForApi(fromAccount.id, 0)
 
   const jobPayload = {
     uris: result.data,