fix(protocol): apply member permission updates on the native group setting command
set_group_member_permissions was still rejected after the previous command switch. Linux QQ writes these capabilities with the same group-detail command as the other admin settings. Closes #392
This commit is contained in:
3 files changed
+15
-15
No files matched your search
@@ -1,8 +1,8 @@
|
||||
// 0x89A_8 — update one member capability through the appPrivilegeFlag deny
|
||||
// bits. Invite policy shares the same settings tags on 0x89A_0; album /
|
||||
// temporary-session / create-group writes use this variant. Current QQ applies
|
||||
// one selected mask per operation; callers that change multiple capabilities
|
||||
// must invoke this namespace sequentially.
|
||||
// 0x89A_0 — update one member capability through the appPrivilegeFlag deny
|
||||
// bits. Invite policy shares the same settings tags; album / temporary-session
|
||||
// / create-group writes use the same command with a narrower mask. Current QQ
|
||||
// applies one selected mask per operation; callers that change multiple
|
||||
// capabilities must invoke this namespace sequentially.
|
||||
|
||||
import { protobuf_decode, protobuf_encode } from '@snowluma/proton';
|
||||
import type { OidbBase, OidbEmpty } from '@snowluma/proto-defs/oidb';
|
||||
@@ -52,7 +52,7 @@ export function decodeGroupMemberPermissions(privilegeFlag: number): {
|
||||
|
||||
export namespace SetMemberPermission {
|
||||
export const command = 0x89A;
|
||||
export const subCommand = 8;
|
||||
export const subCommand = 0;
|
||||
|
||||
export interface Params {
|
||||
groupId: number;
|
||||
|
||||
Reference in new issue
Block a user