Fix null system message

This commit is contained in:
Natsumi
2024-12-14 05:00:04 +13:00
parent ff2be48292
commit ffe9084296

View File

@@ -1977,6 +1977,12 @@ speechSynthesis.getVoices();
break;
}
}
// delete any null in json
for (var key in json) {
if (json[key] === null) {
delete json[key];
}
}
if (typeof ref === 'undefined') {
ref = {
id: '',