Change quotes to inherit local-only status of quoted post in composer (#3286)

This commit is contained in:
Claire 2025-11-19 21:28:51 +01:00 committed by GitHub
parent 41279ac801
commit fa721568e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -425,7 +425,9 @@ export const composeReducer = (state = initialState, action) => {
return 'private';
}
return visibility;
});
}).update('advanced_options',
map => map.merge(new ImmutableMap({ do_not_federate: !!status.get('local_only') })),
);
} else if (quoteComposeCancel.match(action)) {
return state.set('quoted_status_id', null);
} else if (setComposeQuotePolicy.match(action)) {