From b64c6f7a4df307eab9ceb324b372501075455a33 Mon Sep 17 00:00:00 2001 From: Clansty Date: Sun, 28 Jan 2024 13:24:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20TG=20spoiler=20=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E8=BD=AC=20QQ=20=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/OicqClient.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/OicqClient.ts b/src/client/OicqClient.ts index 7435dfc..578076f 100644 --- a/src/client/OicqClient.ts +++ b/src/client/OicqClient.ts @@ -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,