Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持一个客户端连接出席多个聊天室吗 #61

Open
weiiqi opened this issue Sep 11, 2023 · 1 comment
Open

支持一个客户端连接出席多个聊天室吗 #61

weiiqi opened this issue Sep 11, 2023 · 1 comment

Comments

@weiiqi
Copy link

weiiqi commented Sep 11, 2023

我看到代码里面,channel和客户端链接绑定。出席聊天室时,会更新channel的next/prev, 如果玩家多个room需要出席。channel的 next/prev 会在多个room中来回变动。请问下,是不是我代码阅读后理解有问题,或者说目前这个实现不支持,一条链接出席多个room

@LockGit
Copy link
Owner

LockGit commented Sep 11, 2023

我看到代码里面,channel和客户端链接绑定。出席聊天室时,会更新channel的next/prev, 如果玩家多个room需要出席。channel的 next/prev 会在多个room中来回变动。请问下,是不是我代码阅读后理解有问题,或者说目前这个实现不支持,一条链接出席多个room

一个人可以加入不同的room,roomId是不同的,加入其他的room,会在当前的room下多一个channel,是隔离的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants