From 226dca18cdd79cac04bc36888ea0f834762b90cc Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Thu, 29 Oct 2026 01:05:16 +0200 Subject: [PATCH] fix: member's chat loses its pin when the shared folder owner moves it (#33342) When the owner of a shared folder moved a chat a member created to another folder inside the shared folder, the chat lost the member's pin and dropped out of their Pinned list. The owner's move now keeps the member's pin, just as it already keeps the chat's unread status for them. Moving your own chat into a folder still unpins it, as before, so it shows up in that folder. Fixes #33341 --- backend/open_webui/models/chats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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