feat: GetConversationsHasReadAndMaxSeq support pinned

This commit is contained in:
withchao
2025-04-14 11:10:49 +08:00
parent 04997b888e
commit 025b2ae189
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ func (m *msgServer) GetConversationsHasReadAndMaxSeq(ctx context.Context, req *m
}
resp := &msg.GetConversationsHasReadAndMaxSeqResp{Seqs: make(map[string]*msg.Seqs)}
if req.ReturnPinned {
pinnedConversationIDs, err := m.ConversationLocalCache.GetPinnedConversations(ctx, req.UserID)
pinnedConversationIDs, err := m.ConversationLocalCache.GetPinnedConversationIDs(ctx, req.UserID)
if err != nil {
return nil, err
}