+ 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(this.i18n('Account {{nameWithHost}} muted.', params))
+
+ this.videoAccountMuted.emit()
+ },
+
+ err => this.notifier.error(err.message)
+ )