fix(protocol): treat history visibility replies as an on/off flag

The group-detail reply reports whether new members can see history as
a simple yes/no value. The write still flips that setting; the read
no longer expects a multi-bit field.
This commit is contained in:
DrSmoothl committed 2026-08-17 19:40:22 +08:00
1 parent b63c3c370b
commit cc517080be
4 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -365,7 +365,7 @@ export interface OidbGroupDetailFlags {
shutUpAllTimestamp?: pb<45, bool>;
/** Current complete app privilege bitfield; needed for masked mutations. */
privilegeFlag?: pb<99, bool>;
/** Current complete groupFlagExt4 bitfield; needed for masked mutations. */
/** Request the new-member history-visible switch. */
groupFlagExt4?: pb<101, bool>;
noFingerOpen?: pb<82, bool>;
noCodeFingerOpen?: pb<83, bool>;
+1 -1
View File
@@ -128,7 +128,7 @@ export interface OidbSvcTrpcTcp0x88D_0Results {
shutUpAllTimestamp?: pb<45, uint_32>;
/** Complete app privilege bitfield (requested with detail flag tag 99). */
privilegeFlag?: pb<99, uint_32>;
/** Complete groupFlagExt4 bitfield (requested with detail flag tag 101). */
/** New-member history-visible switch (0/1; omitted means hidden). */
groupFlagExt4?: pb<101, uint_32>;
// DecodeSingleGroupDetailInfoByBaseFilter: tag 82 → 60282, tag 83 → 60283.
// SET counterparts are 0x89A settings 35/36. 0 = that search mode is open.