fix: fake forwardMsg construct
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
This commit is contained in:
1 file changed
+2
-2
@@ -13,12 +13,12 @@ class UploadForwardMsg extends PacketTransformer<typeof proto.SendLongMsgResp> {
|
|||||||
const msgBody = this.msgBuilder.buildFakeMsg(selfUid, msg);
|
const msgBody = this.msgBuilder.buildFakeMsg(selfUid, msg);
|
||||||
const longMsgResultData = new NapProtoMsg(proto.LongMsgResult).encode(
|
const longMsgResultData = new NapProtoMsg(proto.LongMsgResult).encode(
|
||||||
{
|
{
|
||||||
action: {
|
action: [{
|
||||||
actionCommand: 'MultiMsg',
|
actionCommand: 'MultiMsg',
|
||||||
actionData: {
|
actionData: {
|
||||||
msgBody: msgBody
|
msgBody: msgBody
|
||||||
}
|
}
|
||||||
}
|
}]
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
const payload = zlib.gzipSync(Buffer.from(longMsgResultData));
|
const payload = zlib.gzipSync(Buffer.from(longMsgResultData));
|
||||||
|
|||||||
Reference in new issue
Block a user