1
0
Timothy Jaeryang Baek 5 сар өмнө
parent
commit
9657474a8d

+ 0 - 3
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")