Support device name change sync message

This commit is contained in:
trevor-signal 2024-12-09 13:22:15 -05:00 committed by GitHub
parent 1c4e7bc85d
commit 96de2c2a38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 190 additions and 12 deletions

View file

@ -493,6 +493,12 @@ export class CallLinkUpdateSyncEvent extends ConfirmableEvent {
}
}
export class DeviceNameChangeSyncEvent extends ConfirmableEvent {
constructor(confirm: ConfirmCallback) {
super('deviceNameChangeSync', confirm);
}
}
const messageToDeleteSchema = z.union([
z.object({
type: z.literal('aci').readonly(),