about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorSurinna Curtis <ekiru.0@gmail.com>2017-09-09 07:26:32 -0500
committerSurinna Curtis <ekiru.0@gmail.com>2017-09-13 21:47:30 -0500
commitdf71eadaaecaf9cc6fc39404fd0bec4544fff2a1 (patch)
treece0b34b614dc1aa05ed234825799fc6b6711ba8d /app/javascript
parent323d437a09c91f61e82e097a74f3b431509187d0 (diff)
In probably dead code, replace a dispatch of muteAccount that was skipping the modal with launching the mute modal.
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/containers/account_container.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/containers/account_container.js b/app/javascript/mastodon/containers/account_container.js
index b4b8f4be2..f72514556 100644
--- a/app/javascript/mastodon/containers/account_container.js
+++ b/app/javascript/mastodon/containers/account_container.js
@@ -59,7 +59,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
     if (account.getIn(['relationship', 'muting'])) {
       dispatch(unmuteAccount(account.get('id')));
     } else {
-      dispatch(muteAccount(account.get('id')));
+      dispatch(initMuteModal(account));
     }
   },