Fix incorrect detection of local vs remote user in web UI

This commit is contained in:
Eugen Rochko 2017-03-01 02:00:21 +01:00
parent 3208979655
commit 5960bac11e

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