Setup infra for better archive upload progress tracking.

This commit is contained in:
Greyson Parrelli
2024-09-19 10:38:05 -04:00
parent 1597ee70ba
commit 0e83e25e6e
15 changed files with 205 additions and 106 deletions

View File

@@ -14,4 +14,17 @@ option java_package = "org.thoughtcrime.securesms.keyvalue.protos";
message LeastActiveLinkedDevice {
string name = 1;
uint64 lastActiveTimestamp = 2;
}
message ArchiveUploadProgressState {
enum State {
None = 0;
BackingUpMessages = 1;
UploadingMessages = 2;
UploadingAttachments = 3;
}
State state = 1;
uint64 completedAttachments = 2;
uint64 totalAttachments = 3;
}