mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 21:28:40 +00:00
Backups: support direct story replies
This commit is contained in:
@@ -173,6 +173,7 @@ message Contact {
|
||||
optional bytes identityKey = 14;
|
||||
IdentityState identityState = 15;
|
||||
Name nickname = 16; // absent iff both `given` and `family` are empty
|
||||
string note = 17;
|
||||
}
|
||||
|
||||
message Group {
|
||||
@@ -380,6 +381,7 @@ message ChatItem {
|
||||
PaymentNotification paymentNotification = 16;
|
||||
GiftBadge giftBadge = 17;
|
||||
ViewOnceMessage viewOnceMessage = 18;
|
||||
DirectStoryReplyMessage directStoryReplyMessage = 19; // group story reply messages are not backed up
|
||||
}
|
||||
}
|
||||
|
||||
@@ -448,6 +450,21 @@ message ContactMessage {
|
||||
repeated Reaction reactions = 2;
|
||||
}
|
||||
|
||||
message DirectStoryReplyMessage {
|
||||
message TextReply {
|
||||
Text text = 1;
|
||||
FilePointer longText = 2;
|
||||
}
|
||||
|
||||
oneof reply {
|
||||
TextReply textReply = 1;
|
||||
string emoji = 2;
|
||||
}
|
||||
|
||||
repeated Reaction reactions = 3;
|
||||
reserved /*storySentTimestamp*/ 4;
|
||||
}
|
||||
|
||||
message PaymentNotification {
|
||||
message TransactionDetails {
|
||||
message MobileCoinTxoIdentification { // Used to map to payments on the ledger
|
||||
@@ -1241,4 +1258,4 @@ message ChatFolder {
|
||||
FolderType folderType = 6;
|
||||
repeated uint64 includedRecipientIds = 7; // generated recipient id of groups, contacts, and/or note to self
|
||||
repeated uint64 excludedRecipientIds = 8; // generated recipient id of groups, contacts, and/or note to self
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user