fix(protocol): apply member permission updates on the correct group setting command

set_group_member_permissions was still rejected after the privilege
flag read was corrected. Album, temporary-session, and create-group
writes use a different 0x89A variant than invite policy.

Closes #392
This commit is contained in:
DrSmoothl committed 2026-08-18 21:57:11 +08:00
1 parent d879ba1027
commit b088ffaff0
4 files changed
+21 -9

No files matched your search

+2 -1
View File
@@ -86,8 +86,9 @@ export interface Oidb0x89a_0HistoryVisibility {
settings?: pb<2, Oidb0x89a_0HistoryVisibilitySettings>;
field12?: pb<12, uint_32>;
}
// 0x89A_0 — one masked group-member capability update. These are deny bits,
// 0x89A_8 — one masked group-member capability update. These are deny bits,
// so callers clear the selected bit to allow a capability and set it to deny.
// Same settings tags as invite policy; the command variant is what differs.
export interface Oidb0x89a_0MemberPermissionSettings {
appPrivilegeFlag?: pb_optional<23, uint_32>;
appPrivilegeMask?: pb_optional<24, uint_32>;