aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-14 09:11:43 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:51 +0100
commit8e6964874990d5ee9d3703be71c6ab4617b9ce20 (patch)
tree84f45507c425d8b64ba03292cb9d49a4feaadeba /server/lib
parentce548a10db3822c415b30ea0edb59e02a460734a (diff)
downloadPeerTube-8e6964874990d5ee9d3703be71c6ab4617b9ce20.tar.gz
PeerTube-8e6964874990d5ee9d3703be71c6ab4617b9ce20.tar.zst
PeerTube-8e6964874990d5ee9d3703be71c6ab4617b9ce20.zip
Add MANAGE_PEERTUBE_FOLLOW right
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/activitypub/send-request.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/send-request.ts b/server/lib/activitypub/send-request.ts
index e6ef5f37a..c18a69784 100644
--- a/server/lib/activitypub/send-request.ts
+++ b/server/lib/activitypub/send-request.ts
@@ -85,7 +85,7 @@ export {
85// --------------------------------------------------------------------------- 85// ---------------------------------------------------------------------------
86 86
87async function broadcastToFollowers (data: any, fromAccount: AccountInstance, t: Sequelize.Transaction) { 87async function broadcastToFollowers (data: any, fromAccount: AccountInstance, t: Sequelize.Transaction) {
88 const result = await db.Account.listFollowerUrlsForApi(fromAccount.id, 0) 88 const result = await db.Account.listAcceptedFollowerUrlsForApi(fromAccount.id, 0)
89 89
90 const jobPayload = { 90 const jobPayload = {
91 uris: result.data, 91 uris: result.data,