|
|
|
@ -42,10 +42,12 @@ func (m *msgServer) GetConversationsHasReadAndMaxSeq(ctx context.Context, req *m
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
conversations, err := m.ConversationLocalCache.GetConversations(ctx, req.UserID, conversationIDs)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
conversationMaxSeqMap := make(map[string]int64)
|
|
|
|
|
for _, conversation := range conversations {
|
|
|
|
|
if conversation.MaxSeq != 0 {
|
|
|
|
|