File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ package xmtp.mls.api.v1;
44
55import "google/api/annotations.proto" ;
66import "google/protobuf/empty.proto" ;
7+ import "identity/associations/signature.proto" ;
78import "message_contents/signature.proto" ;
89import "mls/message_contents/commit_log.proto" ;
910import "mls/message_contents/wrapper_encryption.proto" ;
@@ -367,7 +368,8 @@ message BatchPublishCommitLogRequest {
367368
368369message PublishCommitLogRequest {
369370 bytes group_id = 1 ;
370- bytes encrypted_commit_log_entry = 2 ;
371+ bytes serialized_commit_log_entry = 2 ;
372+ xmtp.identity.associations.RecoverableEd25519Signature signature = 3 ;
371373}
372374
373375message QueryCommitLogRequest {
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ syntax = "proto3";
44
55package xmtp.mls.message_contents ;
66
7+ import "identity/associations/signature.proto" ;
8+
79enum CommitResult {
810 COMMIT_RESULT_UNSPECIFIED = 0 ;
911 COMMIT_RESULT_APPLIED = 1 ;
@@ -31,5 +33,6 @@ message PlaintextCommitLogEntry {
3133
3234message CommitLogEntry {
3335 uint64 sequence_id = 1 ;
34- bytes encrypted_commit_log_entry = 2 ;
36+ bytes serialized_commit_log_entry = 2 ;
37+ xmtp.identity.associations.RecoverableEd25519Signature signature = 3 ;
3538}
Original file line number Diff line number Diff line change @@ -6,15 +6,17 @@ package xmtp.mls.message_contents;
66option go_package = "github.com/xmtp/proto/v3/go/mls/message_contents" ;
77option java_package = "org.xmtp.proto.mls.message.contents" ;
88
9-
109// Message for group mutable metadata
1110message GroupMutableMetadataV1 {
1211 // Map to store various metadata attributes (Group name, etc.)
13- map <string , string > attributes = 1 ;
12+ map <string , string > attributes = 1 ;
1413 Inboxes admin_list = 2 ;
1514 // Creator starts as only super_admin
1615 // Only super_admin can add/remove other super_admin
1716 Inboxes super_admin_list = 3 ;
17+ // The ED25519 private key used to sign commit log entries
18+ // Must match the first entry in the commit log to be valid
19+ optional bytes commit_log_signer = 4 ;
1820}
1921
2022// Wrapper around a list of repeated Inbox Ids
You can’t perform that action at this time.
0 commit comments