Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4689: FIX(server): Older clients not being warned…
… 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
- Loading branch information