From 7cf07b7e977373119612b517a527bce782b64744 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 23 Nov 2025 00:05:27 -0500 Subject: [PATCH] refac: rm folder id on chat archive --- backend/open_webui/models/chats.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/open_webui/models/chats.py b/backend/open_webui/models/chats.py index 64227843a0..926f88d3e2 100644 --- a/backend/open_webui/models/chats.py +++ b/backend/open_webui/models/chats.py @@ -475,6 +475,7 @@ class ChatTable: with get_db() as db: chat = db.get(Chat, id) chat.archived = not chat.archived + chat.folder_id = None chat.updated_at = int(time.time()) db.commit() db.refresh(chat)