]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/users/my-notifications.ts
Add auto follow back support for instances
[github/Chocobozzz/PeerTube.git] / server / controllers / api / users / my-notifications.ts
index f146284e4acc50b7f9c60155533214402b6e7076..017f5219edeb5a3b65bf6bbe855243d7d35aaefb 100644 (file)
@@ -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)