build: 1.3.5-re

This commit is contained in:
手瓜一十雪
2024-05-19 21:04:24 +08:00
parent da19397f7f
commit d2b14742f0
3 changed files with 9 additions and 11 deletions

View File

@@ -103,12 +103,16 @@ const _handlers: {
// File service
[OB11MessageDataType.image]: async (sendMsg, context) =>
SendMsgElementConstructor.pic(
[OB11MessageDataType.image]: async (sendMsg, context) => {
let PicEle = await SendMsgElementConstructor.pic(
(await handleOb11FileLikeMessage(sendMsg, context)).path,
sendMsg.data.summary || '',
sendMsg.data.subType || 0
), // currently not supported
);
context.deleteAfterSentFiles.push(PicEle.picElement.sourcePath);
return PicEle;
}
, // currently not supported
[OB11MessageDataType.file]: async (sendMsg, context) => {
const { path, fileName } = await handleOb11FileLikeMessage(sendMsg, context);