diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-15 15:58:10 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-16 10:08:55 +0100 |
commit | a9bfa85d2cdf13670aaced740da5b493fbeddfce (patch) | |
tree | 3781c9218d4cc7786b6589365c0efbed2151703d /shared/models/users/user-update-me.model.ts | |
parent | c77fdc605b3ccc1ab6890f889d8200fbe9372949 (diff) | |
download | PeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.tar.gz PeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.tar.zst PeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.zip |
Add ability for admins to set default p2p policy
Diffstat (limited to 'shared/models/users/user-update-me.model.ts')
-rw-r--r-- | shared/models/users/user-update-me.model.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/users/user-update-me.model.ts b/shared/models/users/user-update-me.model.ts index 6d7df38fb..e664e44b5 100644 --- a/shared/models/users/user-update-me.model.ts +++ b/shared/models/users/user-update-me.model.ts | |||
@@ -5,7 +5,10 @@ export interface UserUpdateMe { | |||
5 | description?: string | 5 | description?: string |
6 | nsfwPolicy?: NSFWPolicyType | 6 | nsfwPolicy?: NSFWPolicyType |
7 | 7 | ||
8 | // FIXME: deprecated in favour of p2pEnabled in 4.1 | ||
8 | webTorrentEnabled?: boolean | 9 | webTorrentEnabled?: boolean |
10 | p2pEnabled?: boolean | ||
11 | |||
9 | autoPlayVideo?: boolean | 12 | autoPlayVideo?: boolean |
10 | autoPlayNextVideo?: boolean | 13 | autoPlayNextVideo?: boolean |
11 | autoPlayNextVideoPlaylist?: boolean | 14 | autoPlayNextVideoPlaylist?: boolean |