Browse Source

Add “Domain hidden” badge (#6636)

master
ThibG 6 years ago
committed by Eugen Rochko
parent
commit
4746feaa1c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/javascript/mastodon/features/account/components/header.js

+ 2
- 0
app/javascript/mastodon/features/account/components/header.js View File

@ -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')) {

Loading…
Cancel
Save