diff options
author | ThibG <thib@sitedethib.com> | 2018-03-05 16:45:36 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-03-05 16:45:36 +0100 |
commit | 4746feaa1c2e5207b03adbec4a84b23d7cfb63d0 (patch) | |
tree | 3a4d51b90435afa04601b389b59f5902354f4dd9 /app | |
parent | 3d4e788ea919d97a12d0a7f5c90eeaba63a51ba1 (diff) |
Add “Domain hidden” badge (#6636)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/features/account/components/header.js | 2 |
1 files changed, 2 insertions, 0 deletions
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 = <span className='account--muting-info'><FormattedMessage id='account.muted' defaultMessage='Muted' /></span>; + } else if (me !== account.get('id') && account.getIn(['relationship', 'domain_blocking'])) { + mutingInfo = <span className='account--muting-info'><FormattedMessage id='account.domain_blocked' defaultMessage='Domain hidden' /></span>; } if (me !== account.get('id')) { |