[Glitch] Update Redux to handle quote posts

Port 8ee4b3f906 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo
2025-08-08 10:44:05 +02:00
committed by Claire
parent 11902d958f
commit ab0a206d43
6 changed files with 178 additions and 12 deletions

View File

@@ -246,6 +246,8 @@ export function submitCompose(overridePrivacy = null) {
visibility: overridePrivacy || 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']),