mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: send forward
This commit is contained in:
parent
6542f2e63b
commit
b413a224be
@ -1,4 +1,4 @@
|
|||||||
import SendMsg from "../msg/SendMsg";
|
import SendMsg, {convertMessage2List} from "../msg/SendMsg";
|
||||||
import {OB11PostSendMsg} from "../../types";
|
import {OB11PostSendMsg} from "../../types";
|
||||||
import {ActionName} from "../types";
|
import {ActionName} from "../types";
|
||||||
|
|
||||||
@ -7,7 +7,7 @@ export class GoCQHTTPSendGroupForwardMsg extends SendMsg {
|
|||||||
|
|
||||||
protected async check(payload: OB11PostSendMsg) {
|
protected async check(payload: OB11PostSendMsg) {
|
||||||
if (payload.messages){
|
if (payload.messages){
|
||||||
payload.message = this.convertMessage2List(payload.messages);
|
payload.message = convertMessage2List(payload.messages);
|
||||||
}
|
}
|
||||||
return super.check(payload);
|
return super.check(payload);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user