mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-26 13:12:12 +08:00
fix: server can return isEnd to control fetch messages when sdk pull messages end normally.
This commit is contained in:
parent
3e02bdbdf1
commit
2199e9c3f1
@ -97,8 +97,6 @@ func (m *msgServer) GetSeqMessage(ctx context.Context, req *msg.GetSeqMessageReq
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
var pullMsgs *sdkws.PullMsgs
|
var pullMsgs *sdkws.PullMsgs
|
||||||
pullMsgs.IsEnd = isEnd
|
|
||||||
pullMsgs.EndSeq = endSeq
|
|
||||||
if ok := false; conversationutil.IsNotificationConversationID(conv.ConversationID) {
|
if ok := false; conversationutil.IsNotificationConversationID(conv.ConversationID) {
|
||||||
pullMsgs, ok = resp.NotificationMsgs[conv.ConversationID]
|
pullMsgs, ok = resp.NotificationMsgs[conv.ConversationID]
|
||||||
if !ok {
|
if !ok {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user