From f75bfdabe6e80a323558a180866e0149d6a517f7 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 6 Jul 2023 15:22:09 +0800 Subject: [PATCH] fix sync has read --- 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 4ef4624bb..c34590da1 100644 --- a/pkg/common/db/controller/conversation.go +++ b/pkg/common/db/controller/conversation.go @@ -155,7 +155,7 @@ func (c *conversationDatabase) SyncPeerUserPrivateConversationTx(ctx context.Con }); err != nil { return err } - return c.cache.ExecDel(ctx) + return cache.ExecDel(ctx) } func (c *conversationDatabase) FindConversations(ctx context.Context, ownerUserID string, conversationIDs []string) ([]*relationTb.ConversationModel, error) {