From cb4cc7fffa7410fbca5379892b4e2dbd4d765d1f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 17:08:40 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Remove=20unused=20commented=20ou?= =?UTF-8?q?t=20code=20in=20chat-db.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ngoiyaeric <115367894+ngoiyaeric@users.noreply.github.com> --- lib/actions/chat-db.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/actions/chat-db.ts b/lib/actions/chat-db.ts index e15ea4ad..3579de15 100644 --- a/lib/actions/chat-db.ts +++ b/lib/actions/chat-db.ts @@ -213,11 +213,3 @@ export async function getMessagesByChatId(chatId: string): Promise { } } -// More granular functions might be needed based on PR #533 specifics: -// - updateMessage(messageId: string, updates: Partial): Promise -// - deleteMessage(messageId: string, userId: string): Promise -// - deleteTrailingMessages(chatId: string, lastKeptMessageId: string): Promise -// These are placeholders for now and can be implemented if subsequent steps show they are directly part of PR #533's changes. -// The PR mentions "feat: Add message update and trailing deletion logic" and "refactor(chat): Adjust message edit logic". - -console.log('Chat DB actions loaded. Ensure getCurrentUserId() is correctly implemented for server-side usage if applicable.');