Fix: Resolved the issue of incorrect generation of conversationID in 3.8.3-patch branch. (#3582)

This commit is contained in:
Monet Lee 2025-09-29 17:27:56 +08:00 committed by GitHub
parent ed1c22127e
commit 746da2554d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 ""
}