chore: action基本就绪

This commit is contained in:
手瓜一十雪
2024-08-09 18:28:05 +08:00
parent b510756239
commit da44c00074
5 changed files with 9 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ class GetMsg extends BaseAction<Payload, OB11Message> {
const msg = await NTQQMsgApi.getMsgsByMsgId(
peer,
[msgIdWithPeer?.MsgId || payload.message_id.toString()]);
const retMsg = await OB11Constructor.message(msg.msgList[0]);
const retMsg = await OB11Constructor.message(this.CoreContext, msg.msgList[0], "array");
try {
retMsg.message_id = MessageUnique.createMsg(peer, msg.msgList[0].msgId)!;
retMsg.message_seq = retMsg.message_id;