From ce8abec1f8c9ef1fb5c9978ba7aba64631fb8a65 Mon Sep 17 00:00:00 2001 From: Nicholas Molnar <65710+neekolas@users.noreply.github.com> Date: Thu, 18 Jan 2024 13:58:16 -0800 Subject: [PATCH] Hex encode group ID --- pkg/topic/mls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/topic/mls.go b/pkg/topic/mls.go index 26169041..33f3ecbf 100644 --- a/pkg/topic/mls.go +++ b/pkg/topic/mls.go @@ -20,7 +20,7 @@ func IsMLSV1Welcome(topic string) bool { } func BuildMLSV1GroupTopic(groupId []byte) string { - return fmt.Sprintf("%sg-%s/proto", mlsv1Prefix, groupId) + return fmt.Sprintf("%sg-%x/proto", mlsv1Prefix, groupId) } func BuildMLSV1WelcomeTopic(installationId []byte) string {