mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-08 21:47:17 +08:00
Details optimization
This commit is contained in:
parent
726f14fd40
commit
1d57c99a0d
@ -118,10 +118,9 @@ func GetNotificationConversationIDByConversationID(conversationID string) string
|
|||||||
l := strings.Split(conversationID, "_")
|
l := strings.Split(conversationID, "_")
|
||||||
if len(l) > 1 {
|
if len(l) > 1 {
|
||||||
l[0] = "n"
|
l[0] = "n"
|
||||||
return strings.Join(l, "_")
|
return conversationID
|
||||||
} else {
|
|
||||||
return ""
|
|
||||||
}
|
}
|
||||||
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetNotificationConversationID(sessionType int, ids ...string) string {
|
func GetNotificationConversationID(sessionType int, ids ...string) string {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user