Skip to content

Commit

Permalink
feat: add new payload format
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Nov 30, 2023
1 parent 5cab1d0 commit 2d68897
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 2d68897

Please sign in to comment.