From 0883b3245bf0deb9106c4041e9afbd3521b79280 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 19 Apr 2018 11:01:34 +0200 Subject: Add ability to choose what policy we have for NSFW videos There is a global instance setting and a per user setting --- shared/models/users/user-update-me.model.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shared/models/users/user-update-me.model.ts') diff --git a/shared/models/users/user-update-me.model.ts b/shared/models/users/user-update-me.model.ts index b84233329..0a73879ed 100644 --- a/shared/models/users/user-update-me.model.ts +++ b/shared/models/users/user-update-me.model.ts @@ -1,6 +1,8 @@ +import { NSFWPolicyType } from '../videos/nsfw-policy.type' + export interface UserUpdateMe { description?: string - displayNSFW?: boolean + nsfwPolicy?: NSFWPolicyType autoPlayVideo?: boolean email?: string password?: string -- cgit v1.2.3