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

CHANGE: Make joining root channel explicit #5324

Conversation

Krzmbrzl
Copy link
Member

When joining a server, a client is placed in the root channel by
default. However, this placement was implicit as the server would
explicitly exclude this information to be broadcast with the sent
UserState message.

In order to facilitate external applications to get this all right, this
commit now makes sure that this information is shared explicitly (just
as if the user would be placed in a different channel because the server
remembered their last channel).

Note: This commit also adapts the client code to only move the user if
the specified channel is not its current channel already, but even
without this change, the client code will handle the additional
information gracefully.

Fixes #5270

Checks

@Krzmbrzl Krzmbrzl changed the title CHANGE: Make joining root channel explicit (on join) CHANGE: Make joining root channel explicit Nov 21, 2021
When joining a server, a client is placed in the root channel by
default. However, this placement was implicit as the server would
explicitly exclude this information to be broadcast with the sent
UserState message.

In order to facilitate external applications to get this all right, this
commit now makes sure that this information is shared explicitly (just
as if the user would be placed in a different channel because the server
remembered their last channel).

Note: This commit also adapts the client code to only move the user if
the specified channel is not its current channel already, but even
without this change, the client code will handle the additional
information gracefully.

Fixes mumble-voip#5270
@Krzmbrzl Krzmbrzl force-pushed the change-make-joining-root-channel-explicit branch from 0d71731 to bdbc6d8 Compare November 21, 2021 15:46
@Krzmbrzl Krzmbrzl merged commit d461018 into mumble-voip:master Nov 21, 2021
@Krzmbrzl Krzmbrzl deleted the change-make-joining-root-channel-explicit branch November 9, 2022 17:25
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

Successfully merging this pull request may close these issues.

channel_id is sometimes missing in UserState when joining the root channel
1 participant