release: 1.5.8

This commit is contained in:
手瓜一十雪
2024-06-19 23:34:09 +08:00
parent d04fb59282
commit 15e0cf9802
6 changed files with 12 additions and 9 deletions

View File

@@ -134,8 +134,10 @@ const _handlers: {
const uri2LocalRes = await uri2local(thumb);
if (uri2LocalRes.success) thumb = uri2LocalRes.path;
}
return SendMsgElementConstructor.video(path, fileName, thumb);
let videoEle = await SendMsgElementConstructor.video(path, fileName, thumb);
//未测试
context.deleteAfterSentFiles.push(videoEle.videoElement.filePath);
return videoEle;
},
[OB11MessageDataType.miniapp]: async ({ data: any }) => SendMsgElementConstructor.miniapp(),