mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
1be6ad1250
commit
c1a02ec7d8
1 changed files with 8 additions and 9 deletions
|
|
@ -287,7 +287,6 @@ def get_event_emitter(request_info, update_db=True):
|
||||||
to=session_id,
|
to=session_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if update_db:
|
if update_db:
|
||||||
if "type" in event_data and event_data["type"] == "status":
|
if "type" in event_data and event_data["type"] == "status":
|
||||||
Chats.add_message_status_to_chat_by_id_and_message_id(
|
Chats.add_message_status_to_chat_by_id_and_message_id(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue