Skip to content

Commit

Permalink
Merge pull request #137 from xmtp/nm/post-commit-action-updates
Browse files Browse the repository at this point in the history
Update post-commit action
  • Loading branch information
neekolas committed Jan 23, 2024
2 parents 699f65c + 11d43c7 commit 6a9bf06
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions proto/mls/database/intents.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ message SendMessageData {
V1 v1 = 1;
}
}

// Wrapper around a list af repeated EVM Account Addresses
message AccountAddresses {
repeated string account_addresses = 1;
}

// Wrapper around a list of repeated Installation IDs
message InstallationIds {
repeated bytes installation_ids = 1;
Expand Down Expand Up @@ -62,9 +63,14 @@ message RemoveMembersData {

// Generic data-type for all post-commit actions
message PostCommitAction {
// An installation
message Installation {
bytes installation_key = 1;
bytes hpke_public_key = 2;
}
// SendWelcome message
message SendWelcomes {
repeated bytes installation_ids = 1;
repeated Installation installations = 1;
bytes welcome_message = 2;
}

Expand Down

0 comments on commit 6a9bf06

Please sign in to comment.