Fix: Resolved the issue of incorrect generation of conversationID

This commit is contained in:
mo3et 2025-09-29 17:25:07 +08:00
parent bf0289075b
commit b0befa9a95

View File

@ -109,7 +109,7 @@ func GetConversationIDBySessionType(sessionType int, ids ...string) string {
case constant.ReadGroupChatType:
return "sg_" + ids[0] // super group chat
case constant.NotificationChatType:
return "sn_" + ids[0] // server notification chat
return "sn_" + strings.Join(ids, "_") // server notification chat
}
return ""
}