Fix: Resolved the issue of incorrect generation of conversationID (#3581)

pull/3576/merge
Monet Lee 4 weeks ago committed by GitHub
parent cbd29a71de
commit 390d253cea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save