diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-14 09:11:43 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:51 +0100 |
commit | 8e6964874990d5ee9d3703be71c6ab4617b9ce20 (patch) | |
tree | 84f45507c425d8b64ba03292cb9d49a4feaadeba /server/lib/activitypub | |
parent | ce548a10db3822c415b30ea0edb59e02a460734a (diff) | |
download | PeerTube-8e6964874990d5ee9d3703be71c6ab4617b9ce20.tar.gz PeerTube-8e6964874990d5ee9d3703be71c6ab4617b9ce20.tar.zst PeerTube-8e6964874990d5ee9d3703be71c6ab4617b9ce20.zip |
Add MANAGE_PEERTUBE_FOLLOW right
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r-- | server/lib/activitypub/send-request.ts | 2 |
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 | ||
87 | async function broadcastToFollowers (data: any, fromAccount: AccountInstance, t: Sequelize.Transaction) { | 87 | async 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, |