fix: getting messages based on session ID and seq (#2595)

* fix: GroupApplicationAcceptedNotification

* fix: GroupApplicationAcceptedNotification

* fix: NotificationUserInfoUpdate

* cicd: robot automated Change

* fix: component

* fix: getConversationInfo

* feat: cron task

* feat: cron task

* feat: cron task

* feat: cron task

* feat: cron task

* fix: minio config url recognition error

* update gomake version

* update gomake version

* fix: seq conversion bug

* fix: redis pipe exec

* fix: ImportFriends

* fix: A large number of logs keysAndValues ​​length is not even

* feat: mark read aggregate write

* feat: online status supports redis cluster

* feat: online status supports redis cluster

* feat: online status supports redis cluster

* merge

* merge

* read seq is written to mongo

* read seq is written to mongo

* fix: invitation to join group notification

* fix: friend op_user_id

* feat: optimizing asynchronous context

* feat: optimizing memamq size

* feat: add GetSeqMessage

* feat: GroupApplicationAgreeMemberEnterNotification

* feat: GroupApplicationAgreeMemberEnterNotification

* feat: go.mod

* feat: go.mod

* feat: join group notification and get seq

* feat: join group notification and get seq

---------

Co-authored-by: withchao <withchao@users.noreply.github.com>
pull/2611/head v3.8.1-rc.1
chao 3 months ago committed by GitHub
parent 20085d0efc
commit 6dd4e56c2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -106,7 +106,7 @@ func (m *msgServer) GetSeqMessage(ctx context.Context, req *msg.GetSeqMessageReq
pullMsgs, ok = resp.Msgs[conv.ConversationID] pullMsgs, ok = resp.Msgs[conv.ConversationID]
if !ok { if !ok {
pullMsgs = &sdkws.PullMsgs{} pullMsgs = &sdkws.PullMsgs{}
resp.NotificationMsgs[conv.ConversationID] = pullMsgs resp.Msgs[conv.ConversationID] = pullMsgs
} }
} }
pullMsgs.Msgs = append(pullMsgs.Msgs, msgs...) pullMsgs.Msgs = append(pullMsgs.Msgs, msgs...)

Loading…
Cancel
Save