Fix reply bug introduced when compose form started using normalized data

master
Eugen 8 years ago committed by GitHub
parent 5f36d8828a
commit 265215dae9
  1. 2
      app/assets/javascripts/components/actions/compose.jsx

@ -34,7 +34,7 @@ export function submitCompose() {
api(getState).post('/api/statuses', { api(getState).post('/api/statuses', {
status: getState().getIn(['compose', 'text'], ''), status: getState().getIn(['compose', 'text'], ''),
in_reply_to_id: getState().getIn(['compose', 'in_reply_to', 'id'], null) in_reply_to_id: getState().getIn(['compose', 'in_reply_to'], null)
}).then(function (response) { }).then(function (response) {
dispatch(submitComposeSuccess(response.data)); dispatch(submitComposeSuccess(response.data));
}).catch(function (error) { }).catch(function (error) {

Loading…
Cancel
Save