This commit is contained in:
Timothy Jaeryang Baek
2026-07-26 19:34:41 -04:00
parent 94a60b0457
commit f798d05586
17 changed files with 489 additions and 19 deletions
+8
View File
@@ -535,6 +535,14 @@ async def chat_events(sid, data):
if event_type == 'last_read_at':
if not await Chats.update_chat_last_read_at_by_id(data['chat_id'], user['id']):
return
await sio.emit(
'events',
{
'chat_id': data['chat_id'],
'data': {'type': 'chat:list'},
},
room=f'user:{user["id"]}',
)
try:
from open_webui.utils.timers import cancel_timers_for_chat