This commit is contained in:
Alcedo 2023-08-25 16:17:25 +08:00
commit 791a438867

View file

@ -1210,7 +1210,7 @@ export class chatgpt extends plugin {
let quotemessage = []
if (chatMessage?.quote) {
chatMessage.quote.forEach(function (item, index) {
if (item.text.trim() !== '') {
if (item.text && item.text.trim() !== '') {
quotemessage.push(item)
}
})