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) {