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.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.model.ts')
-rw-r--r-- | shared/models/users/user.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts index 78870c556..63c5c8a92 100644 --- a/shared/models/users/user.model.ts +++ b/shared/models/users/user.model.ts | |||
@@ -20,7 +20,11 @@ export interface User { | |||
20 | autoPlayVideo: boolean | 20 | autoPlayVideo: boolean |
21 | autoPlayNextVideo: boolean | 21 | autoPlayNextVideo: boolean |
22 | autoPlayNextVideoPlaylist: boolean | 22 | autoPlayNextVideoPlaylist: boolean |
23 | |||
24 | // @deprecated in favour of p2pEnabled | ||
23 | webTorrentEnabled: boolean | 25 | webTorrentEnabled: boolean |
26 | p2pEnabled: boolean | ||
27 | |||
24 | videosHistoryEnabled: boolean | 28 | videosHistoryEnabled: boolean |
25 | videoLanguages: string[] | 29 | videoLanguages: string[] |
26 | 30 | ||