From 2c0ccd4b3f5ec5633879e6b42cd5175e4de207cc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Apr 2020 16:36:43 +0200 Subject: Do not support subscriptions to accounts --- server/controllers/api/users/my-subscriptions.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/controllers') diff --git a/server/controllers/api/users/my-subscriptions.ts b/server/controllers/api/users/my-subscriptions.ts index 888392b8b..efe1b9bc3 100644 --- a/server/controllers/api/users/my-subscriptions.ts +++ b/server/controllers/api/users/my-subscriptions.ts @@ -112,6 +112,7 @@ function addUserSubscription (req: express.Request, res: express.Response) { const payload = { name, host, + assertIsChannel: true, followerActorId: user.Account.Actor.id } -- cgit v1.2.3