]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/user.ts
Force live stream termination
[github/Chocobozzz/PeerTube.git] / server / lib / user.ts
index ffb57944a3bccbc1ebb941a0a49d26ed466fb24a..56995cca33f5b527a2d8b6a489f3357e8b1feafa 100644 (file)
@@ -56,6 +56,8 @@ function buildUser (options: {
 
     nsfwPolicy: CONFIG.INSTANCE.DEFAULT_NSFW_POLICY,
     p2pEnabled: CONFIG.DEFAULTS.P2P.WEBAPP.ENABLED,
+    videosHistoryEnabled: CONFIG.USER.HISTORY.VIDEOS.ENABLED,
+
     autoPlayVideo: true,
 
     role,