[Glitch] Fix bogus quote approval policy not always being replaced correctly
Port f25e066112b1b2c2db9b692e32b95f99aadef4ee to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
593d21d2ed
commit
8240644b6e
@ -104,7 +104,7 @@ export function normalizeStatus(status, normalOldStatus, { settings, bogusQuoteP
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (normalOldStatus) {
|
if (normalOldStatus) {
|
||||||
normalStatus.quote_approval ||= normalOldStatus.quote_approval;
|
normalStatus.quote_approval ||= normalOldStatus.get('quote_approval');
|
||||||
|
|
||||||
const list = normalOldStatus.get('media_attachments');
|
const list = normalOldStatus.get('media_attachments');
|
||||||
if (normalStatus.media_attachments && list) {
|
if (normalStatus.media_attachments && list) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user