mumble-voip/mumble

Feature Request: Ability to change username

Open

#3,779 opened on Sep 1, 2019

View on GitHub
 (1 comment) (7 reactions) (0 assignees)C++ (1,062 forks)batch import
feature-requesthelp wanted

Repository metrics

Stars
 (5,642 stars)
PR merge metrics
 (Avg merge 6d) (7 merged PRs in 30d)

Description

Changing the own username is kinda the basic functionality one (or at least I) would expect to be possible. However it appears that this is only possible by disconnecting from the server and then reconnecting to it with a different name.

Once #3778 gets fixed, the double-click action for the own user should be free again which could be mapped to changing ones username.

If I understand the code correctly this would require to send a UserState message to the server that contains the desired username. https://github.com/mumble-voip/mumble/blob/987953c008f2d6ba205bc3734607106dafae5258/src/Mumble.proto#L167-L170

If this isn't possible (because e.g. the name is invalid or already in use) I assume the server would answer with a PermissionDeniedmessage with UserName as the "DenyType". https://github.com/mumble-voip/mumble/blob/987953c008f2d6ba205bc3734607106dafae5258/src/Mumble.proto#L279-L280

Contributor guide