From: ThibG Date: Mon, 5 Mar 2018 15:45:36 +0000 (+0100) Subject: Add “Domain hidden” badge (#6636) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=4746feaa1c2e5207b03adbec4a84b23d7cfb63d0;p=mastodon.git Add “Domain hidden” badge (#6636) --- diff --git a/app/javascript/mastodon/features/account/components/header.js b/app/javascript/mastodon/features/account/components/header.js index 075bad3f7..bb7b3b632 100644 --- a/app/javascript/mastodon/features/account/components/header.js +++ b/app/javascript/mastodon/features/account/components/header.js @@ -94,6 +94,8 @@ export default class Header extends ImmutablePureComponent { if (me !== account.get('id') && account.getIn(['relationship', 'muting'])) { mutingInfo = ; + } else if (me !== account.get('id') && account.getIn(['relationship', 'domain_blocking'])) { + mutingInfo = ; } if (me !== account.get('id')) {