about summary refs log tree commit diff
path: root/app/javascript/mastodon/containers/account_container.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/containers/account_container.js')
-rw-r--r--app/javascript/mastodon/containers/account_container.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/mastodon/containers/account_container.js b/app/javascript/mastodon/containers/account_container.js
index 7c77cb764..79e9e6e98 100644
--- a/app/javascript/mastodon/containers/account_container.js
+++ b/app/javascript/mastodon/containers/account_container.js
@@ -63,6 +63,9 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
     }
   },
 
+  onMuteNotifications (account, notifications) {
+    dispatch(muteAccount(account.get('id'), notifications));
+  }
 });
 
 export default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(Account));