mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-22 23:09:20 +00:00
[Glitch] Change mute, block and domain block confirmations in web UI
Port ec19d0a14b to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -72,11 +72,7 @@ class Header extends ImmutablePureComponent {
|
||||
};
|
||||
|
||||
handleBlockDomain = () => {
|
||||
const domain = this.props.account.get('acct').split('@')[1];
|
||||
|
||||
if (!domain) return;
|
||||
|
||||
this.props.onBlockDomain(domain);
|
||||
this.props.onBlockDomain(this.props.account);
|
||||
};
|
||||
|
||||
handleUnblockDomain = () => {
|
||||
|
||||
Reference in New Issue
Block a user