chore: action基本就绪

This commit is contained in:
手瓜一十雪 committed 2024-08-09 18:28:05 +08:00
1 parent b18dfdb9ba
commit b50556802c
5 files changed
+9 -6

No files matched your search

@@ -45,7 +45,7 @@ export default class GoCQHTTPUploadPrivateFile extends BaseAction<Payload, null>
throw new Error(downloadResult.errMsg);
}
const sendFileEle: SendFileElement = await SendMsgElementConstructor.file(this.CoreContext, downloadResult.path, payload.name);
await sendMsg(peer, [sendFileEle], [], true);
await sendMsg(this.CoreContext, peer, [sendFileEle], [], true);
return null;
}
}