Skip to content

Commit

Permalink
Merge pull request #144 from xmtp/rygine/message-v2-optional-fields
Browse files Browse the repository at this point in the history
Make `sender_hmac` and `should_push` optional
  • Loading branch information
rygine committed Feb 8, 2024
2 parents dd6335c + 57bd485 commit d915eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proto/message_contents/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ message MessageV2 {
// Ciphertext.payload MUST contain encrypted SignedContent
Ciphertext ciphertext = 2;
// HMAC of the message ciphertext, with the HMAC key derived from the topic key
bytes sender_hmac = 3;
optional bytes sender_hmac = 3;
// Flag indicating whether the message should be pushed from a notification server
bool should_push = 4;
optional bool should_push = 4;
}

// Versioned Message
Expand Down

0 comments on commit d915eb0

Please sign in to comment.