From 245ad32a4035119b1ae9443534d0da234c49f3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=B0=8F=E6=A7=90?= <1007028430.stapx@gmail.com> Date: Thu, 1 Jun 2023 09:46:58 +0800 Subject: [PATCH] Update msg-body.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :bug: #66 修正损坏的 JSON 合并转发消息 --- src/function/model/msg-body.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/function/model/msg-body.ts b/src/function/model/msg-body.ts index 78265f1..11ec62c 100644 --- a/src/function/model/msg-body.ts +++ b/src/function/model/msg-body.ts @@ -159,7 +159,7 @@ export class MsgBodyFuns { info.icon = '' info.name = json.desc } - if(json.desc.indexOf('聊天记录') >= 1) { + if(json.app == 'com.tencent.multimsg') { info.title = json.meta.detail.source info.desc = '
' json.meta.detail.news.forEach((item: any) => {