X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Flib%2Fuser.ts;h=56995cca33f5b527a2d8b6a489f3357e8b1feafa;hb=5a05c14573ca3c0d16b77bef78d845f96c8c6497;hp=ffb57944a3bccbc1ebb941a0a49d26ed466fb24a;hpb=a2be43f5700460d3afdc194abc788690b79e66cd;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/user.ts b/server/lib/user.ts index ffb57944a..56995cca3 100644 --- a/server/lib/user.ts +++ b/server/lib/user.ts @@ -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,