logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 5960bac11ea62f9066b338ecef46733fea85b1f6
parent: 3208979655a3b6872232aab82c82f90494858f9d
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Wed,  1 Mar 2017 02:00:21 +0100

Fix incorrect detection of local vs remote user in web UI

Diffstat:

Mapp/assets/javascripts/components/features/account/components/action_bar.jsx2+-
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 @@ -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>; }