Skip to content

Commit

Permalink
Hex encode group ID
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Jan 18, 2024
1 parent 1b1a1a2 commit ce8abec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/topic/mls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ce8abec

Please sign in to comment.