diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js
index 767e4da474..f346bd108b 100644
--- a/app/javascript/flavours/glitch/features/account/components/header.js
+++ b/app/javascript/flavours/glitch/features/account/components/header.js
@@ -15,6 +15,7 @@ const messages = defineMessages({
unfollow: { id: 'account.unfollow', defaultMessage: 'Unfollow' },
follow: { id: 'account.follow', defaultMessage: 'Follow' },
requested: { id: 'account.requested', defaultMessage: 'Awaiting approval. Click to cancel follow request' },
+ unblock: { id: 'account.unblock', defaultMessage: 'Unblock @{name}' },
});
@injectIntl
@@ -23,6 +24,7 @@ export default class Header extends ImmutablePureComponent {
static propTypes = {
account: ImmutablePropTypes.map,
onFollow: PropTypes.func.isRequired,
+ onBlock: PropTypes.func.isRequired,
intl: PropTypes.object.isRequired,
};
@@ -35,11 +37,21 @@ export default class Header extends ImmutablePureComponent {
let displayName = account.get('display_name_html');
let info = '';
+ let mutingInfo = '';
let actionBtn = '';
if (me !== account.get('id') && account.getIn(['relationship', 'followed_by'])) {
info =