Fix bogus quote approval policy not always being replaced correctly (#36885)

This commit is contained in:
Claire 2025-11-14 13:39:04 +01:00 committed by GitHub
parent 6d8c43ab85
commit f25e066112
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,7 +112,7 @@ export function normalizeStatus(status, normalOldStatus, { bogusQuotePolicy = fa
}
if (normalOldStatus) {
normalStatus.quote_approval ||= normalOldStatus.quote_approval;
normalStatus.quote_approval ||= normalOldStatus.get('quote_approval');
const list = normalOldStatus.get('media_attachments');
if (normalStatus.media_attachments && list) {