mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-02 02:12:25 +00:00
fix: mark imported and cloned chats as read (#30754)
This commit is contained in:
parent
9e51fe421c
commit
95d6af44d7
1 changed files with 1 additions and 0 deletions
|
|
@ -648,6 +648,7 @@ class ChatTable:
|
|||
'current_message_id': form_data.current_message_id or self.get_current_message_id(form_data.chat),
|
||||
'created_at': (form_data.created_at if form_data.created_at else int(time.time())),
|
||||
'updated_at': (form_data.updated_at if form_data.updated_at else int(time.time())),
|
||||
'last_read_at': int(time.time()),
|
||||
}
|
||||
)
|
||||
return chat
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue