+ err => this.notifier.error(err.message)
+ )
+ }
+
+ muteVideoAccount () {
+ const params = { nameWithHost: Actor.CREATE_BY_STRING(this.video.account.name, this.video.account.host) }
+
+ this.blocklistService.blockAccountByUser(params)
+ .subscribe(
+ () => {
+ this.notifier.success($localize`Account ${params.nameWithHost} muted.`)
+ this.videoAccountMuted.emit()
+ },
+
+ err => this.notifier.error(err.message)
+ )