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:
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>;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user