From 265215dae97c55008f121033cc07987a4f728adb Mon Sep 17 00:00:00 2001 From: Eugen Date: Mon, 5 Sep 2016 22:43:34 +0200 Subject: [PATCH] Fix reply bug introduced when compose form started using normalized data --- app/assets/javascripts/components/actions/compose.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/components/actions/compose.jsx b/app/assets/javascripts/components/actions/compose.jsx index 1efb1ba9d..4954f0f5c 100644 --- a/app/assets/javascripts/components/actions/compose.jsx +++ b/app/assets/javascripts/components/actions/compose.jsx @@ -34,7 +34,7 @@ export function submitCompose() { api(getState).post('/api/statuses', { 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) { dispatch(submitComposeSuccess(response.data)); }).catch(function (error) {