+export class ModerationComponent implements OnInit {
+ autoBlacklistVideosEnabled = false
+
+ constructor (
+ private auth: AuthService,
+ private serverService: ServerService
+ ) { }
+
+ ngOnInit (): void {
+ this.serverService.getConfig()
+ .subscribe(config => this.autoBlacklistVideosEnabled = config.autoBlacklist.videos.ofUsers.enabled)
+
+ }