notification

This commit is contained in:
wangchuxiao
2023-05-12 20:50:14 +08:00
parent f35da7b8ba
commit 63f4757071
3 changed files with 5 additions and 2 deletions
+4
View File
@@ -248,6 +248,10 @@ func GetNotificationConvetstionID(conversationID string) string {
return ""
}
func GetSelfNotificationConversationID(userID string) []string {
return []string{"n_" + userID + "_" + userID, "si_" + userID + "_" + userID}
}
type MsgBySeq []*sdkws.MsgData
func (s MsgBySeq) Len() int {