about summary refs log tree commit diff
path: root/app/assets
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2016-09-05 22:43:34 +0200
committerGitHub <noreply@github.com>2016-09-05 22:43:34 +0200
commit265215dae97c55008f121033cc07987a4f728adb (patch)
treec850914e332df624cce270323445d4a857d0341d /app/assets
parent5f36d8828a08859262a0520a07f103fecbdfc7c3 (diff)
Fix reply bug introduced when compose form started using normalized data
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/components/actions/compose.jsx2
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) {