From b40965112ea519e8c6bb7250359ac525977e1435 Mon Sep 17 00:00:00 2001 From: bianyh <113293542+bianyh@users.noreply.github.com> Date: Tue, 13 Oct 2026 21:46:00 +0800 Subject: [PATCH] fix: preserve chat recency when moving between folders Keep the existing updated_at when folder_id changes so organizing a conversation does not move it ahead of more recent activity. Fixes #30362. Assisted-by: OpenAI Codex --- backend/open_webui/models/chats.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/open_webui/models/chats.py b/backend/open_webui/models/chats.py index b41ad9bf0f..8d5f1efb85 100644 --- a/backend/open_webui/models/chats.py +++ b/backend/open_webui/models/chats.py @@ -2441,7 +2441,6 @@ class ChatTable: async with get_async_db_context(db) as session: chat = await session.get(Chat, id) chat.folder_id = folder_id - chat.updated_at = int(time.time()) chat.last_read_at = int(time.time()) chat.pinned = False if folder_id is not None: