Skip to content

Commit

Permalink
fix: server can return isEnd to control fetch messages when sdk pull …
Browse files Browse the repository at this point in the history
…messages end normally.
  • Loading branch information
FGadvancer committed Dec 12, 2024
1 parent 3e02bdb commit 2199e9c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/rpc/msg/sync_msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ func (m *msgServer) GetSeqMessage(ctx context.Context, req *msg.GetSeqMessageReq
return nil, err
}
var pullMsgs *sdkws.PullMsgs
pullMsgs.IsEnd = isEnd
pullMsgs.EndSeq = endSeq
if ok := false; conversationutil.IsNotificationConversationID(conv.ConversationID) {
pullMsgs, ok = resp.NotificationMsgs[conv.ConversationID]
if !ok {
Expand Down

0 comments on commit 2199e9c

Please sign in to comment.