X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Fuser.ts;h=56995cca33f5b527a2d8b6a489f3357e8b1feafa;hb=5f3505ba78bc05fc61aeca44d95f9a954934c0fc;hp=ffb57944a3bccbc1ebb941a0a49d26ed466fb24a;hpb=3a380e9a71037b0fcbace58a7599221e7cc76e20;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,