Revamp restore decisions state and flesh out post registration restore options.

This commit is contained in:
Cody Henthorne
2025-02-04 13:26:36 -05:00
committed by Greyson Parrelli
parent b78747fda2
commit fe44789d88
35 changed files with 1071 additions and 411 deletions

View File

@@ -536,3 +536,21 @@ message LocalRegistrationMetadata {
string servicePassword = 16;
bool reglockEnabled = 17;
}
message RestoreDecisionState {
enum State {
START = 0;
INTEND_TO_RESTORE = 1;
NEW_ACCOUNT = 2;
SKIPPED = 3;
COMPLETED = 4;
}
message IntendToRestoreData {
bool hasOldDevice = 1;
optional bool fromRemote = 2;
}
State decisionState = 1;
optional IntendToRestoreData intendToRestoreData = 2;
}