diff --git a/pkg/mls/api/v1/service.go b/pkg/mls/api/v1/service.go index c83cb1e0..426f229c 100644 --- a/pkg/mls/api/v1/service.go +++ b/pkg/mls/api/v1/service.go @@ -310,6 +310,7 @@ func (s *Service) SendWelcomeMessages(ctx context.Context, req *mlsv1.SendWelcom CreatedNs: uint64(msg.CreatedAt.UnixNano()), InstallationKey: msg.InstallationKey, Data: msg.Data, + HpkePublicKey: msg.HpkePublicKey, }, }, }) diff --git a/pkg/mls/api/v1/service_test.go b/pkg/mls/api/v1/service_test.go index 45308261..4d4565ad 100644 --- a/pkg/mls/api/v1/service_test.go +++ b/pkg/mls/api/v1/service_test.go @@ -409,6 +409,7 @@ func TestSubscribeWelcomeMessages(t *testing.T) { CreatedNs: uint64(i + 1), InstallationKey: installationKey, Data: []byte(fmt.Sprintf("data%d", i+1)), + HpkePublicKey: []byte(fmt.Sprintf("hpke%d", i+1)), }, }, }