diff --git a/app/soapbox/reducers/relationships.js b/app/soapbox/reducers/relationships.js index dba6feb8c..032582bc1 100644 --- a/app/soapbox/reducers/relationships.js +++ b/app/soapbox/reducers/relationships.js @@ -85,9 +85,9 @@ export default function relationships(state = initialState, action) { case ACCOUNTS_IMPORT: return importPleromaAccounts(state, action.accounts); case ACCOUNT_FOLLOW_REQUEST: - return state.setIn([action.id, action.locked ? 'requested' : 'following'], true); + return state.setIn([action.id, 'requested'], true); case ACCOUNT_FOLLOW_FAIL: - return state.setIn([action.id, action.locked ? 'requested' : 'following'], false); + return state.setIn([action.id, 'requested'], false); case ACCOUNT_UNFOLLOW_REQUEST: return state.setIn([action.id, 'following'], false); case ACCOUNT_UNFOLLOW_FAIL: