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>;