1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 06:48:28 +09:00

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 });
}
if (account.get('domain') !== null) {
if (account.get('acct') !== account.get('username')) {
extraInfo = <abbr title={intl.formatMessage(messages.disclaimer)}>*</abbr>;
}