release: 1.5.8

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

No files matched your search

@@ -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(),