Convert gv2 update messages to backup distinct protos.

This commit is contained in:
Clark
2024-01-24 15:53:52 -05:00
committed by Nicholas Tinsley
parent 0036b8e2d6
commit 98865d61dd
15 changed files with 1019 additions and 81 deletions

View File

@@ -11,6 +11,8 @@ package signal;
option java_package = "org.thoughtcrime.securesms.database.model.databaseprotos";
option java_multiple_files = true;
import Backup.proto;
// DEPRECATED -- only here for database migrations
message ReactionList {
option deprecated = true;
@@ -371,3 +373,12 @@ message ExternalLaunchTransactionState {
GatewayRequest gatewayRequest = 2;
string paymentSourceType = 3;
}
message MessageExtras {
GV2UpdateDescription gv2UpdateDescription = 1;
}
message GV2UpdateDescription {
optional DecryptedGroupV2Context gv2ChangeDescription = 1;
backup.GroupChangeChatUpdate groupChangeUpdate = 2;
}