mirror of https://github.com/Nofated095/Q2TG.git
fix: TG spoiler 图片转 QQ 报错
This commit is contained in:
parent
62df48c0a5
commit
b64c6f7a4d
|
@ -217,15 +217,15 @@ export default class OicqClient extends Client {
|
|||
await contact.uploadImages(imgs);
|
||||
const compressed = await gzip(pb.encode({
|
||||
1: nodes,
|
||||
2: {
|
||||
2: [{
|
||||
1: 'MultiMsg',
|
||||
2: {
|
||||
1: nodes,
|
||||
},
|
||||
},
|
||||
}],
|
||||
}));
|
||||
const _uploadMultiMsg = Reflect.get(contact, '_uploadMultiMsg') as Function;
|
||||
const resid = await _uploadMultiMsg.apply(contact, compressed);
|
||||
const resid = await _uploadMultiMsg.apply(contact, [compressed]);
|
||||
return {
|
||||
tSum: nodes.length,
|
||||
resid,
|
||||
|
|
Loading…
Reference in New Issue