mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-06 10:05:58 +08:00
sg notification
This commit is contained in:
+1
-1
@@ -278,7 +278,7 @@ func IsNotification(conversationID string) bool {
|
||||
|
||||
func GetNotificationConvetstionID(conversationID string) string {
|
||||
l := strings.Split(conversationID, "_")
|
||||
if len(l) > 2 {
|
||||
if len(l) > 1 {
|
||||
l[0] = "n"
|
||||
return strings.Join(l, "_")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user