mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 02:39:55 +01:00
Convert gv2 update messages to backup distinct protos.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user