From 83d91c7dc99adbe6fb03aaf7be4057b5fcd3ab5a Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 24 Mar 2023 18:32:25 +0800 Subject: [PATCH] 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 0a3b90f84..9e764e02d 100644 --- a/pkg/common/db/controller/conversation.go +++ b/pkg/common/db/controller/conversation.go @@ -77,7 +77,7 @@ func (c *ConversationDataBase) SetUsersConversationFiledTx(ctx context.Context, cache = cache.DelConversationIDs(NotUserIDs) } // clear cache - return cache.DelUsersConversation(haveUserIDs, conversation.ConversationID).ExecDel(ctx) + return cache.DelUsersConversation(haveUserIDs, conversation.ConversationID).DelConversationIDs(NotUserIDs).ExecDel(ctx) }) }