From fef55433927e287b01c47d36075ece59026b1182 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 15 Jun 2023 10:22:28 +0800 Subject: [PATCH] get con from cache --- pkg/common/db/controller/conversation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/controller/conversation.go b/pkg/common/db/controller/conversation.go index d34c1c890..4cdf2c22e 100644 --- a/pkg/common/db/controller/conversation.go +++ b/pkg/common/db/controller/conversation.go @@ -265,5 +265,5 @@ func (c *conversationDatabase) GetUserAllHasReadSeqs(ctx context.Context, ownerU } func (c *conversationDatabase) GetConversationsByConversationID(ctx context.Context, conversationIDs []string) ([]*relationTb.ConversationModel, error) { - return c.conversationDB.GetConversationsByConversationID(ctx, conversationIDs) + return c.cache.GetConversationsByConversationID(ctx, conversationIDs) }