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

Disconnect voice channel #2

Open
hugoponthieu opened this issue May 12, 2024 · 0 comments
Open

Disconnect voice channel #2

hugoponthieu opened this issue May 12, 2024 · 0 comments

Comments

@hugoponthieu
Copy link
Member

Disconnect a voice channel

Need #4

When you are connected in a voice channel, a bar will show to disconnect from that channel

this_out_voicedis_voice

At the bottom of this component you can see that there is the icon "lucide:phone-outgoing" and on click you will be disconnected from the channel. (At least in the ui in the first place). It means that when you disconnect the user must be removed from the channel in the backend.

To acheive that you just need to emit "leave_channel" in the web socket with that payload:

      {
        channel_id: connectedChannelID,
      }

Then you should update the focused channel to null in the redux store

Look at what has been already done and don't mind copying.

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

1 participant