fix: send forward

This commit is contained in:
linyuchen 2024-03-24 12:02:56 +08:00
parent 6542f2e63b
commit b413a224be

View File

@ -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);
}