fix: reverse conversation notification id.

pull/1393/head
Gordon 2 years ago
parent a1aba2a628
commit 0a35b7ea5f

@ -118,8 +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 conversationID return strings.Join(l, "_")
} }
return "" return ""
} }

Loading…
Cancel
Save