mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-26 17:30:27 -04:00
fix: mark imported and cloned chats as read (#30754)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user