Skip to content

Commit

Permalink
Add group membership proto (#167)
Browse files Browse the repository at this point in the history
## tl;dr

Add `GroupMembership` proto in line with [XIP-46](https://community.xmtp.org/t/xip-46-multi-wallet-identity/639)
  • Loading branch information
neekolas authored Apr 16, 2024
2 parents f2a444c + 6ff4683 commit 0fea7ed
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions proto/mls/message_contents/group_membership.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Group membership
syntax = "proto3";

package xmtp.mls.message_contents;

option go_package = "github.com/xmtp/proto/v3/go/mls/message_contents";
option java_package = "org.xmtp.proto.mls.message.contents";

// Contains a mapping of `inbox_id` -> `sequence_id` for all members of a group.
// Designed to be stored in the group context extension of the MLS group
message GroupMembership {
map<string, uint64> members = 1;
}

0 comments on commit 0fea7ed

Please sign in to comment.