Update Redux to handle quote posts (#35715)

This commit is contained in:
Echo 2025-08-08 10:44:05 +02:00 committed by GitHub
commit 8ee4b3f906
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 183 additions and 12 deletions

View file

@ -228,6 +228,8 @@ export function submitCompose() {
visibility: getState().getIn(['compose', 'privacy']),
poll: getState().getIn(['compose', 'poll'], null),
language: getState().getIn(['compose', 'language']),
quoted_status_id: getState().getIn(['compose', 'quoted_status_id']),
quote_approval_policy: getState().getIn(['compose', 'quote_policy']),
},
headers: {
'Idempotency-Key': getState().getIn(['compose', 'idempotencyKey']),