fix(protocol): read group privilege from the matching detail field

Member invite and capability bits come from a different group-detail
field than the history-visibility switch. Reading the wrong one made
later writes carry leftover bits the server rejects.
This commit is contained in:
DrSmoothl committed 2026-08-17 20:00:11 +08:00
1 parent 096ad0acfa
commit b3bd68d48d
3 files changed
+5 -5

No files matched your search

@@ -20,7 +20,7 @@ interface GroupDetailResultsFixture {
name?: pb<15, string>;
shutUpAllTimestamp?: pb<45, uint_32>;
leftover59?: pb<59, uint_32>;
privilegeFlag?: pb<99, uint_32>;
privilegeFlag?: pb<56, uint_32>;
groupFlagExt4?: pb<101, uint_32>;
}