In probably dead code, replace a dispatch of muteAccount that was skipping the modal with launching the mute modal.

lolsob-rspec
Surinna Curtis 2017-09-09 07:26:32 -05:00
parent 5774861ece
commit 11088e5667
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
if (account.getIn(['relationship', 'muting'])) { if (account.getIn(['relationship', 'muting'])) {
dispatch(unmuteAccount(account.get('id'))); dispatch(unmuteAccount(account.get('id')));
} else { } else {
dispatch(muteAccount(account.get('id'))); dispatch(initMuteModal(account));
} }
}, },