Skip to content

Commit 899ec72

Browse files
committed
add account data to indicate whether recovery should be enabled/disabled
1 parent adaf921 commit 899ec72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/@types/event.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,8 @@ export interface AccountDataEvents extends SecretStorageAccountDataEvents {
379379
// Flag set by the rust SDK (Element X) and also used by us to mark that the user opted out of backup
380380
// (I don't know why it's m.org.matrix...)
381381
"m.org.matrix.custom.backup_disabled": { disabled: boolean };
382+
// Indicate whether recovery is enabled or disabled
383+
"io.element.recovery": { enabled: boolean };
382384
"m.identity_server": { base_url: string | null };
383385
[key: `${typeof LOCAL_NOTIFICATION_SETTINGS_PREFIX.name}.${string}`]: LocalNotificationSettings;
384386
[key: `m.secret_storage.key.${string}`]: SecretStorageKeyDescription;

0 commit comments

Comments
 (0)