mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 23:41:52 +00:00
Fix reply bug introduced when compose form started using normalized data
This commit is contained in:
parent
5f36d8828a
commit
265215dae9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user