Fix #6128 - Display unfollow button even if account moved (#6258)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2018-01-15 18:42:15 +01:00
1 parent 74c1c9ec01
commit 3987bd18a4
2 files changed
+2 -2

No files matched your search

@@ -93,7 +93,7 @@ export default class Account extends ImmutablePureComponent {
{hidingNotificationsButton}
</Fragment>
);
} else if (!account.get('moved')) {
} else if (!account.get('moved') || following) {
buttons = <IconButton icon={following ? 'user-times' : 'user-plus'} title={intl.formatMessage(following ? messages.unfollow : messages.follow)} onClick={this.handleFollow} active={following} />;
}
}