Fix incorrect detection of local vs remote user in web UI

master
Eugen Rochko 8 years ago
parent 3208979655
commit 5960bac11e
  1. 2
      app/assets/javascripts/components/features/account/components/action_bar.jsx

@ -63,7 +63,7 @@ const ActionBar = React.createClass({
menu.push({ text: intl.formatMessage(messages.report, { name: account.get('username') }), action: this.props.onReport }); menu.push({ text: intl.formatMessage(messages.report, { name: account.get('username') }), action: this.props.onReport });
} }
if (account.get('domain') !== null) { if (account.get('acct') !== account.get('username')) {
extraInfo = <abbr title={intl.formatMessage(messages.disclaimer)}>*</abbr>; extraInfo = <abbr title={intl.formatMessage(messages.disclaimer)}>*</abbr>;
} }

Loading…
Cancel
Save