mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-08 03:08:02 +00:00
refac
This commit is contained in:
parent
638c7ab802
commit
3271b013a8
1 changed files with 1 additions and 1 deletions
|
|
@ -764,7 +764,7 @@ async def yjs_document_update(sid, data):
|
|||
async def yjs_document_leave(sid, data):
|
||||
"""Handle user leaving a document"""
|
||||
try:
|
||||
document_id = data['document_id']
|
||||
document_id = normalize_document_id(data['document_id'])
|
||||
user_id = data.get('user_id', sid)
|
||||
|
||||
log.info(f'User {user_id} leaving document {document_id}')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue