From 9657474a8d6f0b5f5061643176051a0035335355 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 9 May 2025 12:45:53 +0400 Subject: [PATCH] refac: websocket --- backend/open_webui/socket/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/open_webui/socket/main.py b/backend/open_webui/socket/main.py index 57ccd6e57e..1738a7f6be 100644 --- a/backend/open_webui/socket/main.py +++ b/backend/open_webui/socket/main.py @@ -192,9 +192,6 @@ async def connect(sid, environ, auth): # print(f"user {user.name}({user.id}) connected with session ID {sid}") await sio.emit("user-list", {"user_ids": list(USER_POOL.keys())}) await sio.emit("usage", {"models": get_models_in_use()}) - return True - - return False @sio.on("user-join")