Introduce new permission for group member labels

This commit is contained in:
Scott Nonnenberg
2026-03-05 11:18:39 +10:00
committed by GitHub
parent 095e24327b
commit 909896d65c
21 changed files with 519 additions and 148 deletions

View File

@@ -2390,6 +2390,16 @@ export class BackupExportStream extends Readable {
update.groupInviteLinkAdminApprovalUpdate = innerUpdate;
updates.push(update);
} else if (type === 'access-member-label') {
const innerUpdate =
new Backups.GroupMemberLabelAccessLevelChangeUpdate();
if (from) {
innerUpdate.updaterAci = this.#aciToBytesOrUndefined(from);
}
innerUpdate.accessLevel = detail.newPrivilege;
update.groupMemberLabelAccessLevelChangeUpdate = innerUpdate;
updates.push(update);
} else if (type === 'announcements-only') {
const innerUpdate = new Backups.GroupAnnouncementOnlyChangeUpdate();
if (from) {