Skip to content

Commit

Permalink
Merge pull request #116 from xmtp/nm/add-new-ciphertext
Browse files Browse the repository at this point in the history
Add new PPPP payload format
  • Loading branch information
neekolas authored Dec 15, 2023
2 parents 5cab1d0 + 2d68897 commit 572db68
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 14 deletions.
31 changes: 18 additions & 13 deletions go/keystore_api/v1/keystore.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion proto/message_contents/private_preferences.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ syntax = "proto3";
package xmtp.message_contents;

import "message_contents/ciphertext.proto";
import "message_contents/public_key.proto";

option go_package = "github.com/xmtp/proto/v3/go/message_contents";
option java_package = "org.xmtp.proto.message.contents";
Expand All @@ -30,3 +29,10 @@ message PrivatePreferencesAction {
Block block = 2;
}
}

// The payload that goes over the wire
message PrivatePreferencesPayload {
oneof version {
Ciphertext v1 = 1;
}
}

0 comments on commit 572db68

Please sign in to comment.