Skip to content

Commit

Permalink
Bug/fix online status sync trigger (#1393)
Browse files Browse the repository at this point in the history
* fix: sync close ws conn when kick old user avoid wrong trigger order about  online status.

* fix: reverse conversation notification id.
  • Loading branch information
FGadvancer authored Nov 14, 2023
1 parent 0d5fe4e commit 7698368
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/msgprocessor/conversation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
}

Expand Down

0 comments on commit 7698368

Please sign in to comment.