Skip to content
Snippets Groups Projects
Commit 265215da authored by Eugen's avatar Eugen Committed by GitHub
Browse files

Fix reply bug introduced when compose form started using normalized data

parent 5f36d882
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment