Fix incorrect detection of local vs remote user in web UI

signup-info-prompt
Eugen Rochko 2017-03-01 02:00:21 +01:00
parent 3208979655
commit 5960bac11e
1 changed files with 1 additions and 1 deletions

View File

@ -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>;
} }