Merge branch 'edit-quotes' into 'develop'

Show quoted post when editing a quote

See merge request soapbox-pub/soapbox-fe!1643
This commit is contained in:
marcin mikołajczak 2022-07-17 18:34:26 +00:00
commit 32db37029c

View file

@ -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());