Update all known users' domain_blocking relationship instead of just one's

This commit is contained in:
Thibaut Girka
2018-03-04 23:38:00 +01:00
parent 937ace10d9
commit 79da0ad7a2
4 changed files with 28 additions and 16 deletions

View File

@ -57,7 +57,7 @@ export default class Header extends ImmutablePureComponent {
if (!domain) return;
this.props.onBlockDomain(domain, this.props.account.get('id'));
this.props.onBlockDomain(domain);
}
handleUnblockDomain = () => {
@ -65,7 +65,7 @@ export default class Header extends ImmutablePureComponent {
if (!domain) return;
this.props.onUnblockDomain(domain, this.props.account.get('id'));
this.props.onUnblockDomain(domain);
}
render () {