From 8424c4026afd7304880a4ce8138a04ffb3d8c938 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 30 Aug 2019 16:50:12 +0200 Subject: Add auto follow back support for instances --- server/controllers/api/users/my-notifications.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/controllers/api/users/my-notifications.ts') diff --git a/server/controllers/api/users/my-notifications.ts b/server/controllers/api/users/my-notifications.ts index f146284e4..017f5219e 100644 --- a/server/controllers/api/users/my-notifications.ts +++ b/server/controllers/api/users/my-notifications.ts @@ -76,7 +76,8 @@ async function updateNotificationSettings (req: express.Request, res: express.Re newFollow: body.newFollow, newUserRegistration: body.newUserRegistration, commentMention: body.commentMention, - newInstanceFollower: body.newInstanceFollower + newInstanceFollower: body.newInstanceFollower, + autoInstanceFollowing: body.autoInstanceFollowing } await UserNotificationSettingModel.update(values, query) -- cgit v1.2.3