Skip to content

Commit

Permalink
refactor: performance optimization of pull messages. (#690)
Browse files Browse the repository at this point in the history
* fix: Bug fix for clearing unread messages.

Signed-off-by: Gordon <[email protected]>

* fix: Bug fix for pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
  • Loading branch information
FGadvancer authored Sep 5, 2024
1 parent fc88414 commit 2522772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/conversation_msg/message_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ func (c *Conversation) pullMessageAndReGetHistoryMessages(ctx context.Context, c
var conversationSeqs msg.ConversationSeqs
conversationSeqs.ConversationID = conversationID
conversationSeqs.Seqs = newSeqList
getSeqMessageReq.Conversations = append(getSeqMessageReq.Conversations, &conversationSeqs)
log.ZDebug(ctx, "conversation pull message, ", "req", getSeqMessageReq)
if notStartTime && !c.LongConnMgr.IsConnected() {
return
Expand Down

0 comments on commit 2522772

Please sign in to comment.