From b413a224be7d1843c64ecccfff9eceeb30fdab2a Mon Sep 17 00:00:00 2001
From: linyuchen <lin.yu.chen@foxmail.com>
Date: Sun, 24 Mar 2024 12:02:56 +0800
Subject: [PATCH] fix: send forward

---
 src/onebot11/action/go-cqhttp/SendForwardMsg.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/onebot11/action/go-cqhttp/SendForwardMsg.ts b/src/onebot11/action/go-cqhttp/SendForwardMsg.ts
index 67a2564..9e3c3ca 100644
--- a/src/onebot11/action/go-cqhttp/SendForwardMsg.ts
+++ b/src/onebot11/action/go-cqhttp/SendForwardMsg.ts
@@ -1,4 +1,4 @@
-import SendMsg from "../msg/SendMsg";
+import SendMsg, {convertMessage2List} from "../msg/SendMsg";
 import {OB11PostSendMsg} from "../../types";
 import {ActionName} from "../types";
 
@@ -7,7 +7,7 @@ export class GoCQHTTPSendGroupForwardMsg extends SendMsg {
 
     protected async check(payload: OB11PostSendMsg) {
         if (payload.messages){
-            payload.message = this.convertMessage2List(payload.messages);
+            payload.message = convertMessage2List(payload.messages);
         }
         return super.check(payload);
     }