diff options
author | Eugen <eugen@zeonfederated.com> | 2016-09-05 22:43:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-05 22:43:34 +0200 |
commit | 265215dae97c55008f121033cc07987a4f728adb (patch) | |
tree | c850914e332df624cce270323445d4a857d0341d /app | |
parent | 5f36d8828a08859262a0520a07f103fecbdfc7c3 (diff) |
Fix reply bug introduced when compose form started using normalized data
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/components/actions/compose.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |