diff --git a/src/@types/event.ts b/src/@types/event.ts index 8815c6f90..2f4d1e950 100644 --- a/src/@types/event.ts +++ b/src/@types/event.ts @@ -374,6 +374,9 @@ export interface AccountDataEvents extends SecretStorageAccountDataEvents { [EventType.Direct]: { [userId: string]: string[] }; [EventType.IgnoredUserList]: { [userId: string]: {} }; "m.secret_storage.default_key": { key: string }; + // Flag set by the rust SDK (Element X) and also used by us to mark that the user opted out of backup + // (I don't know why it's m.org.matrix...) + "m.org.matrix.custom.backup_disabled": { disabled: boolean }; "m.identity_server": { base_url: string | null }; [key: `${typeof LOCAL_NOTIFICATION_SETTINGS_PREFIX.name}.${string}`]: LocalNotificationSettings; [key: `m.secret_storage.key.${string}`]: SecretStorageKeyDescription;