Skip to content

Commit c3a7827

Browse files
authored
feat: add (super) admin group updates to GroupUpdated (#311)
* feat: add (super) admin group updates to GroupUpdated * ci: fix test workflow
1 parent c1b8146 commit c3a7827

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ jobs:
4444
- uses: actions/setup-go@v6
4545
with:
4646
go-version: ">=1.25.0"
47+
- name: Install Go tools
48+
run: |
49+
cd xmtpd
50+
go install -modfile=tools/go.mod github.com/bufbuild/buf/cmd/buf
51+
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
52+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
53+
go install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest
4754
- name: Execute xmtpd protos builder
4855
run: |
4956
cd xmtpd

dev/kotlin/protoc/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM openjdk:20-jdk-bullseye AS build
1+
FROM eclipse-temurin:21-jdk-jammy AS build
22

33
COPY protoc.sh /opt/protoc
44

55
RUN apt-get -q update && \
6-
apt-get -y install build-essential unzip curl && \
6+
apt-get -y install build-essential unzip curl git && \
77
rm -r /var/lib/apt/lists/*
88

99
# Latest version on protoc so that it has Kotlin

proto/mls/message_contents/transcript_messages.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,12 @@ message GroupUpdated {
5656
repeated MetadataFieldChange metadata_field_changes = 4;
5757
/// The inboxes that were removed from the group in response to pending-remove/self-remove requests
5858
repeated Inbox left_inboxes = 5;
59+
// The inboxes that were added to admin list in the commit
60+
repeated Inbox added_admin_inboxes = 6;
61+
// The inboxes that were removed from admin list in the commit
62+
repeated Inbox removed_admin_inboxes = 7;
63+
// The inboxes that were added to super admin list in the commit
64+
repeated Inbox added_super_admin_inboxes = 8;
65+
// The inboxes that were removed from super admin list in the commit
66+
repeated Inbox removed_super_admin_inboxes = 9;
5967
}

0 commit comments

Comments
 (0)