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

[BUG] subscribers may be removed/changed from a channel when updating priority #20

Open
Tieske opened this issue Oct 31, 2024 · 0 comments

Comments

@Tieske
Copy link

Tieske commented Oct 31, 2024

in channel:setPriority the subscriber is looked up by its id. This is done by calling channel:getSubscriber. However getSubscriber will search the current channel, and all of its child/sub channels. So the subscriber being returned might actually be in a child/sub-channel.

When removing/adding the subscriber the channel:setPriority now removes/adds the subscriber from the current channel, even though it might have been found in a child/sub-channel.

@Tieske Tieske changed the title [BUG] subscribers may be removed from the wrong channel [BUG] subscribers may be removed/changed from a channel when updating priority Oct 31, 2024
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