mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
build: 1.3.5
This commit is contained in:
parent
15d351ebc2
commit
10aeccbbe5
@ -62,15 +62,15 @@ export async function sendMsg(peer: Peer, sendElements: SendMessageElement[], de
|
||||
} catch (e) {
|
||||
logError("发送消息计算预计时间异常", e);
|
||||
}
|
||||
const returnMsg = await NTQQMsgApi.sendMsg(peer, sendElements, waitComplete, 20000);
|
||||
const returnMsg = await NTQQMsgApi.sendMsg(peer, sendElements, waitComplete, timeout);
|
||||
try {
|
||||
returnMsg.id = await dbUtil.addMsg(returnMsg, false);
|
||||
} catch (e: any) {
|
||||
logDebug('发送消息id获取失败', e);
|
||||
returnMsg.id = 0;
|
||||
}
|
||||
deleteAfterSentFiles.map(f => fs.unlink(f, () => {
|
||||
}));
|
||||
// deleteAfterSentFiles.map(f => fs.unlink(f, () => {
|
||||
// }));
|
||||
return returnMsg;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user