Bug/fix online status sync trigger (#1393)

* fix: sync close ws conn when kick old user avoid wrong trigger order about  online status.

* fix: reverse conversation notification id.
pull/1406/head
Gordon 1 year ago committed by GitHub
parent 0d5fe4e6d6
commit 7698368957
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -118,8 +118,9 @@ func GetNotificationConversationIDByConversationID(conversationID string) string
l := strings.Split(conversationID, "_")
if len(l) > 1 {
l[0] = "n"
return conversationID
return strings.Join(l, "_")
}
return ""
}

Loading…
Cancel
Save