Fix delete & redraft of pending posts (#37839)

This commit is contained in:
Claire authored and GitHub committed 2026-02-13 10:32:16 +00:00
1 parent 83182f9e13
commit ab9aa25cd3
3 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -532,7 +532,7 @@ export const composeReducer = (state = initialState, action) => {
map.set('sensitive', action.status.get('sensitive'));
map.set('language', action.status.get('language'));
map.set('id', null);
map.set('quoted_status_id', action.status.getIn(['quote', 'quoted_status'], null));
map.set('quoted_status_id', action.quoted_status_id);
// Mastodon-authored posts can be expected to have at most one automatic approval policy
map.set('quote_policy', action.status.getIn(['quote_approval', 'automatic', 0]) || 'nobody');