Perform backup deletion in a durable job.

This commit is contained in:
Alex Hart
2025-05-28 13:07:09 -03:00
committed by GitHub
parent 8900721064
commit 6a40f4a4f4
17 changed files with 603 additions and 91 deletions

View File

@@ -217,4 +217,16 @@ message InAppPaymentSetupJobData {
message StorageSyncJobData {
bool localManifestOutOfDate = 1;
}
message BackupDeleteJobData {
enum Stage {
UNKNOWN = 0;
CANCEL_SUBSCRIBER = 1;
DELETE_MESSAGES = 2;
DELETE_MEDIA = 3;
CLEAR_LOCAL_STATE = 4;
}
repeated Stage completed = 1;
}