mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
2e5c2bc4c2
commit
cd367534b7
1 changed files with 1 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ async def user_join(sid, data):
|
||||||
# print(f"user {user.name}({user.id}) connected with session ID {sid}")
|
# print(f"user {user.name}({user.id}) connected with session ID {sid}")
|
||||||
|
|
||||||
await sio.emit("user-count", {"count": len(USER_POOL.items())})
|
await sio.emit("user-count", {"count": len(USER_POOL.items())})
|
||||||
|
return {"id": user.id, "name": user.name}
|
||||||
|
|
||||||
|
|
||||||
@sio.on("join-channels")
|
@sio.on("join-channels")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue