mirror of
https://github.com/open-webui/open-webui.git
synced 2025-03-30 12:36:16 +02:00
refac
This commit is contained in:
parent
2e5c2bc4c2
commit
cd367534b7
@ -193,6 +193,7 @@ async def user_join(sid, data):
|
||||
# print(f"user {user.name}({user.id}) connected with session ID {sid}")
|
||||
|
||||
await sio.emit("user-count", {"count": len(USER_POOL.items())})
|
||||
return {"id": user.id, "name": user.name}
|
||||
|
||||
|
||||
@sio.on("join-channels")
|
||||
|
Loading…
x
Reference in New Issue
Block a user