From 6a7c9a5de14b9ec7b178d9e4b62f7412e5891191 Mon Sep 17 00:00:00 2001 From: DrSmoothl <1787882683@qq.com> Date: Mon, 18 May 2026 14:36:20 +0800 Subject: [PATCH] fix(bridge): also drop config1.field5002 from the OIDB 0xFE5_2 mask (#42) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to a07521d. The reporter's correction (895 friends / 221 groups account) was that turning off only field5003 + all of config2 wasn't enough — field5002 has to go too, otherwise QQ NT still emits a response large enough to blow the named-pipe write buffer and fetchGroupList dies with EPIPE. The response decoder (OidbSvcTrpcTcp0xFE5_2GroupInfoSchema) only knows about tag numbers 1/2/3/4/5/18/19/30, and fetchGroupList itself only reads groupName / memberCount / memberMax / customInfo.remark off the result. Tag 5002 isn't in the response schema and isn't consulted by any caller, so silencing it on the request side is purely a payload reduction with no observable behavior change. --- packages/core/src/bridge/bridge-contacts.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/src/bridge/bridge-contacts.ts b/packages/core/src/bridge/bridge-contacts.ts index d63b10da..4b6ce589 100644 --- a/packages/core/src/bridge/bridge-contacts.ts +++ b/packages/core/src/bridge/bridge-contacts.ts @@ -112,9 +112,9 @@ export async function fetchGroupList(bridge: Bridge): Promise { // The user-verified safe combination: keep `config1.*` mostly on // (the response decoder pulls groupOwner / memberMax / memberCount / // groupName / description / question / announcement from this - // group), but turn off the two costly groups of bools that never - // map back to a decoded field: - // - config1.field5003 (an expansive 5xxx-range descriptor) + // group), but turn off the costly groups of bools that never map + // back to a decoded field: + // - config1.field5002, field5003 (expansive 5xxx-range descriptors) // - all of config2 (auxiliary per-group blob the decoder ignores) const allTrue = true; const body = { @@ -127,7 +127,7 @@ export async function fetchGroupList(bridge: Bridge): Promise { question: allTrue, field20: allTrue, field22: allTrue, field23: allTrue, field24: allTrue, field25: allTrue, field26: allTrue, field27: allTrue, field28: allTrue, field29: allTrue, field30: allTrue, field31: allTrue, - field32: allTrue, field5001: allTrue, field5002: allTrue, field5003: false, + field32: allTrue, field5001: allTrue, field5002: false, field5003: false, }, config2: { field1: false, field2: false, field3: false, field4: false,