]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/constants.ts
Add notification on new instance follower (server side)
[github/Chocobozzz/PeerTube.git] / server / initializers / constants.ts
index 43c5ec54cde1f0f739b9fd8b4582f2d9eef6d5d9..7d9ffc6682186fb41638d71d3dd7e11f1cb51796 100644 (file)
@@ -327,7 +327,8 @@ const CONFIG = {
   },
   FOLLOWERS: {
     INSTANCE: {
-      get ENABLED () { return config.get<boolean>('followers.instance.enabled') }
+      get ENABLED () { return config.get<boolean>('followers.instance.enabled') },
+      get MANUAL_APPROVAL () { return config.get<boolean>('followers.instance.manual_approval') }
     }
   }
 }