From 5960bac11ea62f9066b338ecef46733fea85b1f6 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 1 Mar 2017 02:00:21 +0100 Subject: [PATCH] Fix incorrect detection of local vs remote user in web UI --- .../components/features/account/components/action_bar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/components/features/account/components/action_bar.jsx b/app/assets/javascripts/components/features/account/components/action_bar.jsx index 3668a0f131..93ca971194 100644 --- a/app/assets/javascripts/components/features/account/components/action_bar.jsx +++ b/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 }); } - if (account.get('domain') !== null) { + if (account.get('acct') !== account.get('username')) { extraInfo = *; }