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

Warn older clients about ChannelListeners #4097

Merged
merged 1 commit into from
Apr 22, 2020

Conversation

Krzmbrzl
Copy link
Member

ChannelListener will be introduced with Mumble 1.4.0 but older clients
will not know what these are. Thus they won't show them in their UI
which could lead to users being listened to without noticing.

In order to solve this issue, this commit implements a logic on the
Server that'll inform older clients about this possibility by sending
them a TextMessage right after they have authenticated (and after they
have received the server's welcome text).

Thanks to @streaps for pointing this problem out in #4011

…ture

ChannelListener will be introduced with Mumble 1.4.0 but older clients
will not know what these are. Thus they won't show them in their UI
which could lead to users being listened to without noticing.

In order to solve this issue, this commit implements a logic on the
Server that'll inform older clients about this possibility by sending
them a TextMessage right after they have authenticated (and after they
have received the server's welcome text).
@Krzmbrzl Krzmbrzl force-pushed the feature-listen-to-channel branch from 45f4a80 to db465f0 Compare April 22, 2020 16:23
@Krzmbrzl Krzmbrzl merged commit ae3e222 into mumble-voip:master Apr 22, 2020
Krzmbrzl added a commit to Krzmbrzl/mumble that referenced this pull request Jan 14, 2021
Clients < 1.4.0 don't know about the new ChannelListener feature and
thus there is no indication in the UI for them. In order to make sure
that users know that they could potentially be listened to without
seeing anything in the UI, a warning message was introduced in mumble-voip#4097.

There was an error in the implementation however causing this warning to
not be sent by the server if there are no explicit limits on the amount
of channel listeners via the server configuration.

The bug was that "no limit" was expressed as -1 but the check for
whether these features are enabled checked for > 0. The fix is simply to
check for != 0 instead.

Fixes mumble-voip#4687
Krzmbrzl added a commit that referenced this pull request Jan 14, 2021
… about ChannelListener

Clients < 1.4.0 don't know about the new ChannelListener feature and
thus there is no indication in the UI for them. In order to make sure
that users know that they could potentially be listened to without
seeing anything in the UI, a warning message was introduced in #4097.

There was an error in the implementation however causing this warning to
not be sent by the server if there are no explicit limits on the amount
of channel listeners via the server configuration.

The bug was that "no limit" was expressed as -1 but the check for
whether these features are enabled checked for > 0. The fix is simply to
check for != 0 instead.

Fixes #4687
@Krzmbrzl Krzmbrzl deleted the feature-listen-to-channel branch November 9, 2022 17:07
@Kissaki Kissaki added feature-request This issue or PR deals with a new feature and removed enhancement labels Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request This issue or PR deals with a new feature server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants