mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-14 04:08:46 +00:00
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
This commit is contained in:
parent
be6f0a6656
commit
b40965112e
1 changed files with 0 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue