mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
chore: 丢弃空消息
This commit is contained in:
@@ -235,7 +235,7 @@ export default async function createSendElements(
|
|||||||
callResultList.push(callResult);
|
callResultList.push(callResult);
|
||||||
}
|
}
|
||||||
const ret = await Promise.all(callResultList);
|
const ret = await Promise.all(callResultList);
|
||||||
const sendElements: SendMessageElement[] = ret.filter(ele => ele) as SendMessageElement[];
|
const sendElements: SendMessageElement[] = ret.filter(ele => !!ele);
|
||||||
return { sendElements, deleteAfterSentFiles };
|
return { sendElements, deleteAfterSentFiles };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user