diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-18 11:32:37 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-18 11:35:51 +0100 |
commit | 276d96529529621d5f70473990095495f2743c29 (patch) | |
tree | 9fc62fc44dce05302215b10da13789ce89c9ee04 /server/models/account | |
parent | 80bfd33c0bf910e2cfdd3270b14ba9eddd90e2e8 (diff) | |
download | PeerTube-276d96529529621d5f70473990095495f2743c29.tar.gz PeerTube-276d96529529621d5f70473990095495f2743c29.tar.zst PeerTube-276d96529529621d5f70473990095495f2743c29.zip |
Add ability to disable and clear history
Diffstat (limited to 'server/models/account')
-rw-r--r-- | server/models/account/user.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/account/user.ts b/server/models/account/user.ts index ea017c338..180ced810 100644 --- a/server/models/account/user.ts +++ b/server/models/account/user.ts | |||
@@ -370,6 +370,7 @@ export class UserModel extends Model<UserModel> { | |||
370 | emailVerified: this.emailVerified, | 370 | emailVerified: this.emailVerified, |
371 | nsfwPolicy: this.nsfwPolicy, | 371 | nsfwPolicy: this.nsfwPolicy, |
372 | webTorrentEnabled: this.webTorrentEnabled, | 372 | webTorrentEnabled: this.webTorrentEnabled, |
373 | videosHistoryEnabled: this.videosHistoryEnabled, | ||
373 | autoPlayVideo: this.autoPlayVideo, | 374 | autoPlayVideo: this.autoPlayVideo, |
374 | role: this.role, | 375 | role: this.role, |
375 | roleLabel: USER_ROLE_LABELS[ this.role ], | 376 | roleLabel: USER_ROLE_LABELS[ this.role ], |