From bdc2e4fadf75f08f6d44fa984ea4d3d78f9dede2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 27 Mar 2025 17:18:00 -0500 Subject: general updates --- example/Makefile | 1 + example/Signal-Desktop-Backups.proto.orig | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'example') diff --git a/example/Makefile b/example/Makefile index 4c98ac9..4f8171d 100644 --- a/example/Makefile +++ b/example/Makefile @@ -108,3 +108,4 @@ proto-reformat-restore: proto-reformat-comments: ../autogenpb --proto signal.proto --format-comments + # autogenpb --proto SignalService.proto --format diff --git a/example/Signal-Desktop-Backups.proto.orig b/example/Signal-Desktop-Backups.proto.orig index c939e53..faed8ee 100644 --- a/example/Signal-Desktop-Backups.proto.orig +++ b/example/Signal-Desktop-Backups.proto.orig @@ -115,7 +115,7 @@ message AccountData { string familyName = 5; string avatarUrlPath = 6; SubscriberData donationSubscriberData = 7; - reserved 8; // A deprecated format // backupsSubscriberData + reserved /*backupsSubscriberData*/ 8; // A deprecated format AccountSettings accountSettings = 9; IAPSubscriberData backupsSubscriberData = 10; string svrPin = 11; @@ -230,7 +230,7 @@ message Group { // We would use Groups.proto if we could, but we want a plaintext version to improve export readability. // For documentation, defer to Groups.proto. The only name change is Group -> GroupSnapshot to avoid the naming conflict. message GroupSnapshot { - reserved 1; // The field is deprecated in the context of static group state // publicKey + reserved /*publicKey*/ 1; // The field is deprecated in the context of static group state GroupAttributeBlob title = 2; GroupAttributeBlob description = 11; string avatarUrl = 3; @@ -264,8 +264,8 @@ message Group { bytes userId = 1; Role role = 2; - reserved 3; // This field is ignored in Backups, in favor of Contact frames for members // profileKey - reserved 4; // This field is deprecated in the context of static group state // presentation + reserved /*profileKey*/ 3; // This field is ignored in Backups, in favor of Contact frames for members + reserved /*presentation*/ 4; // This field is deprecated in the context of static group state uint32 joinedAtVersion = 5; } @@ -277,8 +277,8 @@ message Group { message MemberPendingAdminApproval { bytes userId = 1; - reserved 2; // This field is ignored in Backups, in favor of Contact frames for members // profileKey - reserved 3; // This field is deprecated in the context of static group state // presentation + reserved /*profileKey*/ 2; // This field is ignored in Backups, in favor of Contact frames for members + reserved /*presentation*/ 3; // This field is deprecated in the context of static group state uint64 timestamp = 4; } @@ -505,7 +505,7 @@ message DirectStoryReplyMessage { } repeated Reaction reactions = 3; - reserved 4; // storySentTimestamp + reserved /*storySentTimestamp*/ 4; } message PaymentNotification { @@ -1312,4 +1312,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 -} +} \ No newline at end of file -- cgit v1.2.3