Skip to content

Commit 48e93ee

Browse files
committed
bugfix UuidFromByte
1 parent 3a12836 commit 48e93ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

message.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ func UniqueConversationId(userId, recipientId string) string {
7777
sum := h.Sum(nil)
7878
sum[6] = (sum[6] & 0x0f) | 0x30
7979
sum[8] = (sum[8] & 0x3f) | 0x80
80-
return UuidFromBytes(sum)
80+
id, _ := UuidFromBytes(sum)
81+
return id.String()
8182
}
8283

8384
func Chunked(source []interface{}, size int) [][]interface{} {

0 commit comments

Comments
 (0)