From f80925c0615cb55e012eb4d0df40c5127d9c5b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 17 Jul 2022 20:17:21 +0200 Subject: [PATCH] Show quoted post when editing a quote MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/reducers/compose.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soapbox/reducers/compose.ts b/app/soapbox/reducers/compose.ts index 3b861fb58..5bfa8716d 100644 --- a/app/soapbox/reducers/compose.ts +++ b/app/soapbox/reducers/compose.ts @@ -460,6 +460,7 @@ export default function compose(state = ReducerRecord({ idempotencyKey: uuid(), map.set('caretPosition', null); map.set('idempotencyKey', uuid()); map.set('content_type', action.contentType || 'text/plain'); + map.set('quote', action.status.get('quote')); if (action.v?.software === PLEROMA && hasIntegerMediaIds(action.status)) { map.set('media_attachments', ImmutableList());