diff --git a/backend/open_webui/models/chats.py b/backend/open_webui/models/chats.py index d8a4f01dd4..17b3f65677 100644 --- a/backend/open_webui/models/chats.py +++ b/backend/open_webui/models/chats.py @@ -2548,7 +2548,7 @@ class ChatTable: chat.folder_id = folder_id if chat.user_id == user_id: chat.last_read_at = int(time.time()) - chat.pinned = False + chat.pinned = False if folder_id is not None: # Folder listings only show unarchived chats, so moving an archived # chat into a folder would otherwise have no visible effect: the chat